if (scalar `ls $dirname`) {print "Directory $dirname is not empty\n"}; [download]
In reply to RE: Empty directory by Maqs in thread Empty directory by Anonymous Monk