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

Re: RFC: Autoloading charnames

Thread Previous | Thread Next
From:
Johan Vromans
Date:
November 23, 2011 09:00
Subject:
Re: RFC: Autoloading charnames
Message ID:
m239deixki.fsf@phoenix.squirrel.nl
Jesse Luehrs <doy@tozt.net> writes:

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

It is a fundamental principle of modular programming that when using a
module, it should not matter what that module does to accomplish its
documented behaviour. Note: Documented behaviour.

If the next version of IO::File no longer needs to load File::Spec than
that is a great optimalisation and any code that breaks because of this
deserves to break.

Now, where did I put my asbestos suit...

-- Johan


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