Re: Perl reports different cwd() value

2002-03-01 Thread Eugene Rosenzweig
Not really sure why you want to work around a standard way to express paths but, if you need to, maybe something like this? perl -e 'use Cwd;$path=cwd();print "[",$path,"]\n";$winpath = `cygpath -w $path`;print "[",$winpath,"]\n";$winpath=~ tr/\\/\//;print "[",$winpath,"]\n";' Excuse any bad per

Re: Perl reports different cwd() value

2002-03-01 Thread Michael A Chase
- Original Message - From: "Timothy Canham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 13:38 Subject: Perl reports different cwd() value > If you are in: > > c:/temp (alternate way to address drives under cygwin) > > and you perform "perl -e "use Cwd; cwd();