On Sun, May 25, 2003 at 10:57:47PM -0500, Craig A. Berry wrote:
> Current versions of MM call ExtUtils::Command::rm_f as a one-liner, which in turn 
> calls ExtUtils::expand_wildcards(), which in turn calls glob().  Here's what happens 
> when you do that on VMS from miniperl rather than Perl:
> 
> $ mcr perl_root:[000000]miniperl -"MExtUtils::Command" -e rm_f foo.*
> DynaLoader.pm loaded (../lib perl_root:[lib.VMS_AXP.5_8_1] perl_root:[lib] 
> perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_per
> l] /perl_root/lib/site_perl ., /sys$share /sys$library)
> DynaLoader not linked into this perl
> Can't load module Fcntl, dynamic loading not available in this perl.
>   (You may need to build a new perl executable which either supports
>   dynamic loading or has the Fcntl module statically linked into it.)
>  at /perl_root/lib/File/Temp.pm line 127
> Compilation failed in require at /perl_root/lib/File/Temp.pm line 127.
> BEGIN failed--compilation aborted at /perl_root/lib/File/Temp.pm line 127.
> Compilation failed in require at /perl_root/lib/ExtUtils/Command.pm line 57.
> BEGIN failed--compilation aborted.
> %SYSTEM-F-ABORT, abort
> 
> With PERL_DL_DEBUG defined in the environment, doing the same thing (successfully) 
> from perl shows what dynamic library it's really loading:
> 
> $ mcr perl_root:[000000]perl -"MExtUtils::Command" -e rm_f foo.*
> DynaLoader.pm loaded (../lib perl_root:[lib.VMS_AXP.5_8_1] perl_root:[lib] 
> perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_per
> l] /perl_root/lib/site_perl ., /sys$share /sys$library)
> DynaLoader::bootstrap for VMS::Stdio (auto/VMS/Stdio/PL_VMS__Stdio.exe)
> 
> 
> Something is new in this equation.  I don't know if it's MM's dependence on glob(), 
> the use of miniiperl rather than perl, or something new within Fcntl or glob().  
> This was with [EMAIL PROTECTED] using Compaq C V6.5-001 on OpenVMS Alpha V7.3-1.  
> For now this is just a bug report.

ExtUtils::Command::rm_f has been using expand_wildcards() since at least a
year ago (just before 6.00).  expand_wildcards() has been using glob() for 
at least a year as well.

ExtUtils::MM_VMS has been using ExtUtils::Command::rm_f since Nov, 2002
(between 6.05 and 6.06_01).  Before that it used a one-liner that didn't
do glob expansion.  Since I think 19612 is where MM was upgraded
in bleadperl from 6.05 to 6.10_X that might be it.


-- 
Cuius rei demonstrationem mirabilem sane detexi hanc subcriptis 
exigutias non caperet.

Reply via email to