Craig A. Berry wrote:

so you have an unspeakable mash of incompatible syntax.  The fact
that there is a splitpath but no catpath is automatically suspect,
but I haven't held my nose long enough to distinguish among what it
thinks it's doing, what it's actually doing, and what it ought to be
doing.

There are a couple of bugs here that require working around for now.

Steve Hay identified a bug in splitpath on Win32

: This breaks on Win32. File::Spec->splitpath() returns three
: items, which don't necessarily have the correct flavour of
: slash (backslash or forward slash) on Win32:
:
: $INC{'Module/Load/Conditional.pm'}=
:    '../../../../Module/Load/Conditional.pm'
: @rv_path = ('', '..\..\..\..\Module\Load\', 'Conditional.pm')
: File::Spec::Unix->catfile(@rv_path)=
:    '..\..\..\..\Module\Load\/Conditional.pm'

On VMS, splitdir() can not handle UNIX syntax, and splitpath unexpectedly converts the file specification to VMS. Both of these things need to be fixed in order for Perl to function properly when the VMS CRTL is put into UNIX mode, such as needed for running under Bash.

I have it working now on VMS and it should still work on other platforms. A patch fixing this and a related problem will be coming very shortly.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to