You can refer to perldoc perlretut for additional information.my $re = qr/this RegEx will be used 10,000 times/; open FH, "<file.dat" or die "Error : $!\n"; while (<FH>){ process() if /$re/; } close FH;
In reply to Re: Optimizing Perl?
by perlplexer
in thread Optimizing Perl?
by dargosch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |