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".