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
Dave Mitchell
October 8, 2018 08:28
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
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


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

    /usr/share/perl5/ /usr/share/perl5/
warnings/ /usr/share/perl5/warnings/

Then can you include a copy of the file listed for for the bad
system; for example that would /usr/lib64/perl5/ 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
    -- Things That Never Happen in "Star Trek" #18

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About