in reply to checking to see if a directory is empty
unless( glob "*" ){ print "empty dir\n" }else{ print "non-empty dir\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: checking to see if a directory is empty
by merlyn (Sage) on Jul 27, 2005 at 22:08 UTC |