http://www.perlmonks.org?node_id=187696


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.

¤