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:
Gururaj Kallur
Date:
October 8, 2018 07:50
Subject:
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
CAEbNYu4UMdbXi8PSva3Jqv=3sELa0pMe=PsP_E-sdHwDyhXJTA@mail.gmail.com
With Good Perl

-bash-4.2$ perl -v

This is perl 5, version 22, subversion 0 (v5.22.0) built for
aix-thread-multi-64all

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


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


With Bad perl

-bash-4.2$ perl -v

This is perl 5, version 26, subversion 1 (v5.26.1) built for
aix-thread-multi-64all

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

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


On Mon, Oct 8, 2018 at 1:10 PM Dave Mitchell <davem@iabyn.com> wrote:

> On Fri, Oct 05, 2018 at 11:22:41AM +0530, Gururaj Kallur wrote:
> > (stuff about 'use lib')
>
> Can you run this one liner under both the good and bad AIX perls and show
> us the output:
>
>     $ perl -le'use lib "/foo/bar"; print for @INC'
>
>
> --
> 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