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

Re: Autoloading charnames

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
November 24, 2011 04:44
Subject:
Re: Autoloading charnames
Message ID:
CAHhgV8gOhsgXs4Cab=eWLJkraThDWV2hOV1_9a6NtRJtJVFpUg@mail.gmail.com
On Thu, Nov 24, 2011 at 9:40 AM, Konovalov, Vadim (Vadim)** CTR **
<vadim.konovalov@alcatel-lucent.com> wrote:
> 1) as everyone knows "threading" should make "use" under better control - namely after threads creation.
> How this will be handled?

Why would it be different than now?

> 2) PAR packer already generates huge executables (compared to e.g 5.6) because it happens now to load Math::BigInt everytime, due to some unfortunate dependency on some $^O.
> Under new circumstances, the problem will be even worse.

Again, I don't see this being different from now. If you need
charnames it should be bundled, otherwise not.

> I, personally, very much like for modules usage to be under better control, i.e. load what I demand.
>
> I think instead of loading of something when \N{} is seen would be a proper advice from warning system ("you probably need to do "use charnames::blabla" module")

Telling the user "we know what you wanted from us, be we're not doing
it" seems terribly user-unfriendly to me.

Leon

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