|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
(kudra) Re: Reading entire file.by kudra (Vicar) |
| on May 04, 2001 at 06:06 UTC ( [id://77881]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Update: Oops, thank you cLive--I
misread the $that = 0; as another $that = 1 and therefore
saw it as just checking and printing single lines.
As for your problem with stopping, I'm not seeing any reason why this section wouldn't work (assuming $foo and $bar are what you want them to be) Ps. You can print $. instead of keeping a counter.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||