Also (in addition to what chromatic said), I don't think you want the double quotes to be part of $newDir. Perl's built-in -d isn't parsed/executed via some shell, and thus doesn't need the quotes to keep both space-separated parts of the directory name together. As you have it, the quotes are considered part of the name itself.
In reply to Re: -e fails when file is proven to exist
by Eliya
in thread -e fails when file is proven to exist
by zemplen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |