in reply to Re^2: passing file handle to functions
in thread passing file handle to functions

True. I was quoting directly from perldoc perlfunc examples for open. Which seams different from the perldoc open.

UnderMine

Replies are listed 'Best First'.
Re^4: passing file handle to functions
by japhy (Canon) on May 18, 2006 at 11:38 UTC
    Wow. That example should probably just go away from the docs. It's not strict-safe and it doesn't even make sense: the filehandle variable is 'fh01' every time.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart