Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Deleting Files

by Adam (Vicar)
on Feb 23, 2001 at 06:54 UTC ( #60421=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    }
    
    find( \&DeleteOldFiles, '.' );
    
  2. or download this
    #!perl -w
    use strict;
    ...
        next if -d;
        unlink $_ or die $! if -M > $days;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2022-10-04 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (18 votes). Check out past polls.

    Notices?