On Fri, 2007-04-27 at 11:16 -0700, Nishi wrote:
> Yes, its the cygwin perl to be blamed.
> Would setting the ACTIVESTATE environment variable help? before running the
> scripts that contain the basename usage?

Cygwin is a Unix environment emulated in Windows.  Paths on Unix are
done by slash  eg /data/scripts/xyz.pl,  this represents (typically) C:
\cygwin\data\scripts\xyz.pl.

To convert between Windows paths and cygwin paths use cygpath command
line tool,  may be a function in perl as well.

For paths to files you can use the cygwin UNC
paths.  //c/some/where/on/C/drive/xyz.pl or //server/share/directory

Activestate is a perl implementation that is straight windows if you
like.  This might be a better fit to your task.

-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to