in reply to Empty directory
if (scalar `ls $dirname`) {print "Directory $dirname is not empty\n"}; [download]
2) dangerous use of interpolation into a backquoted string, for no real gain