Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How do I delete a file?

by Anonymous Monk
on Feb 14, 2000 at 05:16 UTC ( #3442=note: print w/replies, xml ) Need Help??


in reply to How do I delete a file?

With unlink:
# unlink returns the number of files it successfully deleted $cnt = unlink 'a', 'b', 'c'; if (unlink @goners == @goners){ print "I deleted 'em all! HaHaHa\n"; } unlink <*.bak>; unlink $filename or die "Couldn't delete $filename: $!";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2021-05-15 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?