|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Re: Re: strictby arturo (Vicar) |
| on Feb 01, 2001 at 20:47 UTC ( [id://55856]=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.
Whoops. The problem is that the second way I gave you won't work because the my $line part of it will fail -- and the variable won't be declared -- if you read in a blank line from the file you're looking through. So you could get a loop with the same logic by changing it to:
HTH Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||