Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: No. files in folder

by borisz (Canon)
on Jun 23, 2005 at 10:36 UTC ( #469351=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    opendir my $d, $dir;
    
    ...
    
    # if we have more as 20 files remove the oldes two
    unlink @f[0,1] if @f > 20;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-04-18 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?