in reply to Shell scripts and perl

Consider using -e instead, if a file of the same name exists the mkdir command will fail.

--

Brother Frankus.

¤