open my $fh => "linecount.txt" or die "Open linecount.txt: $!"; my ($file, $linecount); while (<$fh>) { ($file, $linecount) = split /\s*~\s*/; last if $file && $file eq $thefileIamLookingfor; }
Abigail
In reply to Re: Regex problem
by Abigail-II
in thread Regex problem
by DS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |