On 29 May 2007 06:29:55 -0700, jeevs <[EMAIL PROTECTED]> wrote:

If (<FH>) ::: if doesn't not fill the $_ variable with contents of
files first line automatically.

It doesn't happen automatically, but you can do it manually. Do you want this?

 if (defined($_ = <FH>)) { ... }

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to