Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Trouble using a Win32 file path in an array

by ramlight (Friar)
on Sep 25, 2009 at 14:17 UTC ( [id://797516]=note: print w/replies, xml ) Need Help??


in reply to Trouble using a Win32 file path in an array

Is there perhaps some code around this that you are not showing to us? I tried your example on Perl 5.10.0 and it ran fine for me:
>type \help\perlscripts\test2.dat C:\HELP\Docs\R2009\sp01\ >dir C:\HELP\Docs\R2009\sp01\ Volume in drive C has no label. Volume Serial Number is 74E6-4409 Directory of C:\HELP\Docs\R2009\sp01 09/25/2009 09:57 AM <DIR> . 09/25/2009 09:57 AM <DIR> .. 0 File(s) 0 bytes 2 Dir(s) 224,589,967,360 bytes free >perl pathq.pl Found C:\HELP\Docs\R2009\sp01\ >perl -v This is perl, v5.10.0 built for MSWin32-x86-multi-thread

Replies are listed 'Best First'.
Re^2: Trouble using a Win32 file path in an array
by geo (Acolyte) on Sep 25, 2009 at 14:33 UTC
    No there is no other code. After your response I recreated everything on a different system and it works fine. At least I know that I was on the right track with Perl, now all I have to do is figure out why it fails on the first system. Thank you for taking the time to look at this and to respond. -geo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-29 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found