Thread /o Modifikator
(20 answers)
Opened by Gast at 2004-07-20 14:20
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. Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |