Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to tell if a Directory is Empty

by mhi (Friar)
on Nov 23, 2011 at 06:13 UTC ( [id://939602]=note: print w/replies, xml ) Need Help??


in reply to How to tell if a Directory is Empty

To save time on large directories, you will probably want to add a last; after your $i++;. That way, the loop will never run more than three iterations.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found