Perl Monk, Perl Meditation | |
PerlMonks |
Re: Performance of assambled regexby Not_a_Number (Prior) |
on Jul 26, 2015 at 18:22 UTC ( [id://1136363]=note: print w/replies, xml ) | Need Help?? |
Not an answer to your question, but there is another problem in your code. This line: open my $fh_big_file, '<', $ARGV[0] || die;and the following line are buggy for precedence reasons. Use either parentheses: open( my $fh_big_file, '<', $ARGV[0] ) || die;or the low precedence or operator; open my $fh_big_file, '<', $ARGV[0] or die; Proof:
In Section
Seekers of Perl Wisdom
|
|