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

Re: RFC: Autoloading charnames

Thread Previous | Thread Next
Johan Vromans
November 23, 2011 09:00
Re: RFC: Autoloading charnames
Message ID:
Jesse Luehrs <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About