Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: The strangest use of unlink I know of

by kyle (Abbot)
on Feb 28, 2008 at 16:19 UTC ( #670925=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $test_file = 'file_of_doom';
    die 'file already exists' if -e $test_file;
    ...
    unlink %foo;
    
    print "file gone!\n" if ! -e $test_file;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://670925]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2017-03-28 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (341 votes). Check out past polls.