develooper Front page | perl.perl5.porters | Postings from October 2018

Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
October 8, 2018 08:28
Subject:
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
20181008082810.GR3100@iabyn.com
On Mon, Oct 08, 2018 at 01:19:37PM +0530, Gururaj Kallur wrote:
> With Bad perl

> -bash-4.2$ perl -le'use lib "/foo/bar"; print for @INC'
> /scratch/gkallur/perl/lib/5.26.1/aix-thread-multi-64all

Interesting.

On the bad system, do the following:

$ perl -e'use lib "/foo/bar"; printf "%20s %s\n", $_,  $INC{$_} for sort keys %INC'

You should get something like

           Config.pm /usr/lib64/perl5/Config.pm
              lib.pm /usr/lib64/perl5/lib.pm
           strict.pm /usr/share/perl5/strict.pm
             vars.pm /usr/share/perl5/vars.pm
         warnings.pm /usr/share/perl5/warnings.pm
warnings/register.pm /usr/share/perl5/warnings/register.pm



Then can you include a copy of the file listed for lib.pm for the bad
system; for example that would /usr/lib64/perl5/lib.pm on my system,
and should be about 200 lines long.

-- 
Wesley Crusher gets beaten up by his classmates for being a smarmy git,
and consequently has a go at making some friends of his own age for a
change.
    -- Things That Never Happen in "Star Trek" #18

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About