Peter Prymmer wrote:
This bug:
$ perl -e "print defined(VMS::Filespec::vmspath('perlshr'))"
$ perl -e "print defined(VMS::Filespec::vmspath('perlshr_not_logical'))"
1
Is causing trouble for sub init_main in ExtUtils::MakeMaker::MM_Unix.pm
which calls catfdir() to turn a NAME into a FULLEXT macro.
If you have a logical name and a Makefile.PL that does:
WriteMakefile(
NAME => 'Logical',
then the FULLEXT macro is not placed into the descrip.mms and
the initial build will fail since paths in [.blib...] depend on having
FULLEXT assigned.
This is seen in perl 5.005_02 and perl 5.8.7 (a bug in mp_do_tovmspath in
vms.c?).
Actually it is not related to perlshr being a logical name.
$ perl -e "print VMS::Filespec::vmspath('sys$system')"
SYS$SYSROOT:[SYSEXE]
It appears to be the expected behavior of vmspath() to return NULL if it
is given an argument that is not a directory.
$ perl -e "print VMS::Filespec::vmspath('perl_root:[000000]perlshr.exe')"
[line above should not be wrapped]
[prints nothing]
The line below prints the result.
$ perl -e "print VMS::Filespec::vmspath('perl_root:[000000]')"
perl_root:[000000]
-John
[EMAIL PROTECTED]
Personal Opinion Only