my %comments; #comments keyed by line number open FH, "yourFile" or die $!; while (<FH>) { $comments{$.} = $_ if m/^#/ } close FH;
In reply to Re: Bad Regex
by Anonymous Monk
in thread Bad Regex
by nofernandes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |