|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: $_[0] fails for file handle?by jwkrahn (Prior) |
| on Jul 17, 2012 at 04:45 UTC ( #982128=note: print w/ replies, xml ) | Need Help?? |
|
That is because the <> operator has two functions. my $line = <$_[0]> ; is the same as my $line = glob "$_[0]" ; while my $line = <$FH> ;
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||