Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: passing file handle to functions

by UnderMine (Friar)
on May 18, 2006 at 11:32 UTC ( [id://550215]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://550215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-16 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found