Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Spaces in "Path"

by brx (Pilgrim)
on Jul 23, 2012 at 09:35 UTC ( [id://983139]=note: print w/replies, xml ) Need Help??


in reply to Spaces in "Path"

Even tried including the path in "" but it's still not working.

Use single quotes: ''.

Try that:

C:\>perl -e "open OUT,'>','D:\My Spaced Path\myfile';print OUT 'foobar +';"

Replies are listed 'Best First'.
Re^2: Spaces in "Path"
by DevMonk_1 (Initiate) on Jul 27, 2012 at 05:16 UTC
    Also tried using ''...but it's not working! The problem is when accessing a directory, a single file can be accessed by using "".

      but it's not working!

      So you say, but where is your code?

      use autodie; # for error checking

      daxim: For that to work, you need to show your code.
      Anonymous Monk: So you say, but where is your code?

      Help us to help you: please, show your code.

      English is not my mother tongue.
      Les tongues de ma mère sont "made in France".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found