http://qs1969.pair.com?node_id=797516


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