Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: -e fails when file is proven to exist

by Eliya (Vicar)
on Mar 08, 2012 at 20:33 UTC ( [id://958532]=note: print w/replies, xml ) Need Help??


in reply to -e fails when file is proven to exist

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://958532]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found