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 08:59
Subject:
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
CAEbNYu5X-x2DF1NeW+7KyR-tfhu1fO5=omjwF=32wa=o+1ARdA@mail.gmail.com
There is not much difference between working and non-working perl lib.pm
files

-bash-4.2$ diff /scratch/gkallur/perl/lib/5.26.1/aix-thread-multi-64all/
lib.pm /scratch/gkallur/perl522/lib/5.22.0/aix-thread-multi-64all/lib.pm
16c16
< our $VERSION = '0.64';
---
> our $VERSION = '0.63';


On Mon, Oct 8, 2018 at 2:22 PM Gururaj Kallur <gskallur@gmail.com> wrote:

> Here is the output and attached the lib.pm which is listed below
>
> -bash-4.2$ perl -e'use lib "/foo/bar"; printf "%20s %s\n", $_,  $INC{$_}
> for sort keys %INC'
>            Config.pm
> /scratch/gkallur/perl/lib/5.26.1/aix-thread-multi-64all/Config.pm
>               lib.pm
> /scratch/gkallur/perl/lib/5.26.1/aix-thread-multi-64all/lib.pm
>            strict.pm /scratch/gkallur/perl/lib/5.26.1/strict.pm
>              vars.pm /scratch/gkallur/perl/lib/5.26.1/vars.pm
>          warnings.pm /scratch/gkallur/perl/lib/5.26.1/warnings.pm
> warnings/register.pm /scratch/gkallur/perl/lib/5.26.1/warnings/register.pm
>
> -bash-4.2$ cat /scratch/gkallur/perl/lib/5.26.1/aix-thread-multi-64all/
> lib.pm | wc -l
>      211
>
>
> On Mon, Oct 8, 2018 at 1:58 PM Dave Mitchell <davem@iabyn.com> wrote:
>
>> 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
>>
>
>
> --
> Thanks & Regards
> Gururaj Kallur
> Mobile: 91-9845227154
>


-- 
Thanks & Regards
Gururaj Kallur
Mobile: 91-9845227154

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