Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2014-10-22 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls