Thread /o Modifikator
(20 answers)
Opened by Gast at 2004-07-20 14:20
[quote=pq,21.07.2004, 00:37]steht eigentlich alles mehr oder weniger in perlop.pod. neben anderen
nützlichen infos steht da u.a.: qr/STRING/imosx This operator quotes (and possibly compiles) its STRING as a regular expression. [...] Precompilation of the pattern into an internal representation at the moment of qr() avoids a need to recompile the pattern every time a match "/$pat/" is attempted. also es wird nicht jedesmal neu kompiliert. gute nacht.[/quote] Arghhh - hätte ich ja auch mal lesen können ... Danke für den Hinweis pq :) (aber vielleicht hilft es ja jemandem der diesen Thread liest) |