Re: Catfile function not working on windows 7 machine

2012-08-09 Thread Sandip Karale
On Wed, Aug 8, 2012 at 4:13 PM, Shlomi Fish wrote: > Hi Sandip, > > On Wed, 8 Aug 2012 15:47:24 +0530 > Sandip Karale wrote: > > > Hello , > > > > I'm new to perl. > > > > I am on windows 7 64 bit machine. with Strawberry Perl (64-bi

Catfile function not working on windows 7 machine

2012-08-08 Thread Sandip Karale
Hello , I'm new to perl. I am on windows 7 64 bit machine. with Strawberry Perl (64-bit) 5.14.2.1. *My Code:* use File::Spec::Functions; my $f="foo.txt"; my $d="machdir"; print "$f \n"; print "$d \n"; print catfile($d,$f); *Output:* * * foo.txt mach\\dir \mach\dir\foo.txt *M