Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: if (-d$_) failes because of white space

by nimdokk (Vicar)
on May 13, 2009 at 18:44 UTC ( #763872=note: print w/replies, xml ) Need Help??


in reply to if (-d$_) failes because of white space

Try wrapping quotes around $_.

my $dir = "\'$_\'";

Some OS platforms don't like those spaces (even tho it allows you to put them into the directory names *cough*windows*cough* :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://763872]
help
Chatterbox?
[choroba]: YAPC::YAEC (yet another European country)
[LanX]: they are proposing an infinite transition phase now ...
[choroba]: infinite transition implies infinite money!
[LanX]: ... ehm ..."open ended" ;-)
[LanX]: anyway ... the (official) leave date is in March 2019
[marto]: choroba no :P

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2018-02-23 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?