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

Re: pop @INC (".")

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
March 8, 2012 16:25
Subject:
Re: pop @INC (".")
Message ID:
10738.1331252690@chthon
> 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.

Absolutely.

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.  

--tom

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