in reply to Re^3: Accessing a file from the perl
in thread Accessing a file from the perl
The unless ($found) check needs to be after the while loop, not within (before having run through the entire file, you cannot tell whether a matching entry was found...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Accessing a file from the perl
by abcdefg (Acolyte) on Jan 12, 2012 at 00:22 UTC |