Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 rifling through the Monastery: (11)
As of 2014-09-02 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls