NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
qr not necessary (Score:1)
> I should have compiled the regexp with qr// at start and then use the compiled version
If you're referring to the "/HTTP\/1\.1\"\s404/" in the loop - perl is smart enough to only compile it once, as it doesn't contain any variables that would change it.
You can test this be running /a/ }'
$ perl -Mre=debug -le 'for (1..2) { $_ =~
and watching the output
Reply to This
Re: (Score:1)
Interesting.
Thank you!