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

Re: Autoloading charnames

Thread Previous | Thread Next
Leon Timmermans
November 24, 2011 06:03
Re: Autoloading charnames
Message ID:
On Thu, Nov 24, 2011 at 2:35 PM, Konovalov, Vadim (Vadim)** CTR **
<> wrote:
> It is well-known adviced practice to use heavy "use something"
> before any threads creation.
> I am just wondered, this automated
>  use charnames; # :full or whatever
> - will it be done before threads creation, or at what moment it will be
> called WRT threads?

I assume it'd be done during compile-time, so it shouldn't matter.

> Have you seen how modules dependency in PAR resolved?
> There is some heuristic with false positives, and mostly the logic is to
> package more modules than needed, to avoid any misses in packed
> executables, so resulting in bigger executables than needed.

No, but I don't think that avoiding PAR bugs should be a guiding
principle in perl's core design.

> But with proposed new feature things will end up with adding
> "use charnames;" to all PAR-packed executables, thus resulting
> already oversized executables to be even bigger.

Then PAR/Module::ScanDeps needs to add detection for \N{}.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About