Thread /o Modifikator (20 answers)
Opened by Gast at 2004-07-20 14:20

pq
 2004-07-21 02:37
#84643 #84643
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread /o Modifikator