develooper Front page | perl.perl5.porters | Postings from November 2011

Re: RFC: Autoloading charnames

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
November 23, 2011 09:23
Subject:
Re: RFC: Autoloading charnames
Message ID:
12352.1322069011@chthon
Jesse Luehrs <doy@tozt.net> wrote on Wed, 23 Nov 2011 10:32:09 CST: 

>> Perl really isn't spec-based to allow one to adjudge a bug from a feature
>> based on a formal spec, so there's a lot of this sort of thing going around.

> Right. And this is why I'd like to try to avoid adding more things like
> this whenever possible - these are the sorts of things that makes the
> language a lot harder to change in the future. Can we even make IO::File
> stop loading File::Spec at this point? Someone may be relying on this
> autoloading behavior, and their code would break. (To be clear, I think
> the answer to this question is "yes", but the potential for breaking
> existing code isn't something that should be ignored either.)

I think you're right that it could very well break code.

Whether this counts as breaking something that's already broken,
I don't know.  Nor if it is, whether that justifies doing so.

Is the current situation actually hurting anyone?

--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