[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

PATL/autorequire-0.08.tar.gz broken since perl5.8.8@30113



See here
<http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=autorequire;maxver=;reports=1;sort=perl;sort=action>

I did a binary search myself (using git-bisect) and found that change
30113 is responsible for the failures of the autorequire distribution.
The reason is that autodynaload.pm is using and setting DynaLoader's
$do_expand variable:

    local $DynaLoader::do_expand = 1 ;

Since the above change the $do_expand variable is not used anymore on
non-VMS systems in this DynaLoader_pm.PL block (approx. line 351):

        # check for common cases to avoid autoload of dl_findfile
        my $try = <<$^O-eq-MacOS>> "$dir:$modfname.<<=$dl_dlext>>" <<|$^O-eq-MacOS>> "$dir/$modfname.<<=$dl_dlext>>"<</$^O-eq-MacOS>>;
        last if $file = <<$^O-eq-VMS>>($do_expand) ? dl_expandspec($try) : ((-f $try) && $try);
        <<|$^O-eq-VMS>>(-f $try) && $try;
        <</$^O-eq-VMS>>

Probably it's best to remove the special VMS condition here.

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tksm - Perl/Tk program for searching and replacing in multiple files
    http://ptktools.sourceforge.net/#tksm


Follow-Ups from:
Nicholas Clark <nick@ccl4.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]