Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-04 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls