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 9, 2018 07:57
Subject:
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
20181009075726.GK3102@iabyn.com
On Tue, Oct 09, 2018 at 12:50:16PM +0530, Gururaj Kallur wrote:
> If reverse is inside the foreach then it is not working.

That's very odd.

Can that behaviour be reproduced directly, rather than just in lib.pm?

E.g. does this line show any output?

    $ perl -le 'sub f { for (reverse @_) { print "[$_]" } } f("/foo/bar");'
    [/foo/bar]
    $


-- 
Diplomacy is telling someone to go to hell in such a way that they'll
look forward to the trip

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