Do you know where your variables are? | |
PerlMonks |
Re: Re: Re: strictby arturo (Vicar) |
on Feb 02, 2001 at 01:47 UTC ( [id://55856]=note: print w/replies, xml ) | Need Help?? |
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
|
|