Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Safe way to open files

by Aristotle (Chancellor)
on Jun 15, 2002 at 15:33 UTC ( #174846=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub safe_open {
        my $fn = shift;
        # you need not initialize $fh anymore in Perl >= 5.6
    ...
    
        return $fh;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-06-19 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (92 votes). Check out past polls.

    Notices?