develooper Front page | perl.perl5.porters | Postings from March 2012

Re: pop @INC (".")

Thread Previous | Thread Next
Tom Christiansen
March 8, 2012 16:25
Re: pop @INC (".")
Message ID:
> I don't consider it a bug. @INC has contained "." since the dawn of time.
> I bet there are tons of script happily running on servers everywhere,
> doing their job, and depending on "." being in @INC.

> Now, todays thinking may be that it's better not to have "." in @INC. And
> while I won't argue with that, I don't think we should remove "." from
> @INC.  IMO, breaking something that works now outweighs any potential
> advantages of not having "." in @INC by default.


You cannot change running programs out from under them.  This 
egregious break with backwards compatibilty will break other
people's programs.  I guarantee it.  I also guarantee that doing
so will be a complete disaster.

But hey, what do I know?   Go ahead.  


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