Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Safe way to open files

by L0rdPhi1 (Sexton)
on Jun 16, 2002 at 10:44 UTC ( #174917=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;
        $fn =~ s/^(>>?)//;
    ...
        seek $fh, 0, 0;
        return $fh;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2021-06-23 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (121 votes). Check out past polls.

    Notices?