Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: deleting a file

by Anonymous Monk
on Jun 05, 2001 at 09:25 UTC ( #85703=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       open FH ">foo.txt";
       print FH "blah"
    ...
       close FH1;
       unlink "foo.txt"; # `DELETE FOO.TXT;2`
       if ($^O eq 'VMS') { unlink "foo.txt" } # `DELETE FOO.TXT;1`
    
  2. or download this
       1 while unlink $filename;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-10-22 01:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls