in reply to Re: What is function of a filehandle read operation
in thread What is function of a filehandle read operation operation when no filehandle is specified?

It reads from STDIN only when there are no entries in @ARGV. So, you're partially right, but wrong if there are command line arguments.

-- Randal L. Schwartz, Perl hacker

  • Comment on RE: Re: What is function of a filehandle read operation