"be consistent" | |
PerlMonks |
Re: How to tell if a Directory is Emptyby mhi (Friar) |
on Nov 23, 2011 at 06:13 UTC ( [id://939602]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Cool Uses for Perl
|
|