in reply to Re: Re: Re: Passing filehandle to sub
in thread Passing filehandle to sub

If any monks can think of a situation where a bareword filehandle is indeed preferable to a lexical filehandle then please reply below.

When it is already open for you such as ARGV, ARGVOUT, and the STD* filehandles.

Other than that, you got me... but I'm an old dog like Mr. Muskrat and tend to use them, at least in my main programs. (I manage to avoid them in modules though.)

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Re: Re: Re: Passing filehandle to sub