in reply to Re: Searching for Certain Values
in thread Searching for Certain Values
open(my $fh, "<", "data.txt") || die "Can't open file: $!";
to
open (FH, '<data.txt') || die "Can't open file: $!";
and
while(my $line = <$fh>) {
to
while(my $line = <FH>) {
You may want to consider upgrading your version of Perl as 5.005 is positively ancient.
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Searching for Certain Values
by Dr.Avocado (Novice) on Jul 30, 2007 at 22:47 UTC |