develooper Front page | perl.perl5.porters | Postings from August 2016

Re: [perl #128769] Bleadperl v5.25.3-22-g8901dde breaksFLORA/Class-C3-XS-0.13.tar.gz

Thread Previous | Thread Next
From:
Zefram
Date:
August 1, 2016 06:41
Subject:
Re: [perl #128769] Bleadperl v5.25.3-22-g8901dde breaksFLORA/Class-C3-XS-0.13.tar.gz
Message ID:
20160801064133.GB24721@fysh.org
Father Chrysostomos via RT wrote:
>    * Localise @INC only if necessary.

There's obvious appeal in doing this, but on the whole I think it's
a bad idea.  It means that a module loaded by base sees inconsistent
behaviour in whether @INC is localised.  If a module is going to have
a problem with localised @INC, it is better that it consistently sees
it localised by base, so that the problem will quickly become apparent
and be addressed, rather than lurking to bite unsuspecting users later.

-zefram

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