develooper Front page | perl.perl5.porters | Postings from June 2017

Re: lib/ puts references in %^H

Thread Previous | Thread Next
June 15, 2017 01:00
Re: lib/ puts references in %^H
Message ID:
demerphq wrote:
>              Would it be fair to say that it is as though the sub
>being called by "\N{TEST}" was wrapped in a BEGIN?

Kinda.  \N{} and BEGIN are two ways of running code at compile time.
There are others, such as "use" (which calls an import method at compile
time).  No one of these mechanisms is more fundamental than the rest.


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