Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: windows perl and paths

by flieckster (Scribe)
on Nov 19, 2016 at 19:23 UTC ( [id://1176168]=note: print w/replies, xml ) Need Help??


in reply to Re: windows perl and paths
in thread windows perl and paths

I'm on strawberry perl, the other way and it can't find the directory at all.

Replies are listed 'Best First'.
Re^3: windows perl and paths
by stevieb (Canon) on Nov 19, 2016 at 20:21 UTC

    So you're saying that you get the specified warning when you try to chdir to Z:/Partners/Wilsons/2push_test?

    Can you, from the command line, cd Z:\Partners\Wilsons\2push_test successfully?

    These are all Strawberry Perl installs, that I ran this code against:

    use warnings; use strict; use feature 'say'; use Cwd; say getcwd(); chdir 'c:/repos' or die $!; say getcwd();

    Output:

    c:\>berrybrew exec perl chdir.pl Perl-5.24.0_64 ============== c:/ c:/repos Perl-5.22.2_64 ============== c:/ c:/repos Perl-5.18.4_64 ============== c:/ c:/repos Perl-5.10.1_32 ============== c:/ c:/repos

    So using forward slashes without escaping them most definitely works all the way back to at least 5.10.

Log In?
Username:
Password:

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

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

    No recent polls found