Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: deleting a file

by Anonymous Monk
on Jun 05, 2001 at 09:25 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://85703]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found