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

Re: File::Glob in failure perl5.05_63 XSLoader on OpenBSD 2.6



On Tue, Jan 04, 2000 at 11:40:55AM -0700, Tom Christiansen wrote:
> Oops, forgot to demo the patch and results.
> 
> >From lib/XSLoader.pm
> 
>     my $libref = dl_load_file($file, 0) or do {
>         require Carp;
>         system("pwd; ls -l $file");
>         Carp::croak("Can't load '$file' for module $module: " . dl_error());
>     };

AHA!  What about calling dl_error() *before* 'require Carp'?

Ilya


Follow-Ups from:
Tom Christiansen <tchrist@jhereg.perl.com>
References to:
Tom Christiansen <tchrist@jhereg.perl.com>
Tom Christiansen <tchrist@jhereg.perl.com>

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