develooper Front page | perl.perl6.language | Postings from July 2005

module init hooks and pragmas

Gaal Yahas
July 30, 2005 10:40
module init hooks and pragmas
Message ID:
What gets called for me when someone "use"s my module? What gets called
when someone "no"s it?

L<S11/Importation> stipulates a standard syntax for import lists, and
that's probably a good thing, but then how do you pass other compile-time
requests to code that's being used?

Perhaps in light of L<S04/Closure traits>, we can make "use" and "no"
activate TURNON and TURNOFF blocks?

Gaal Yahas <> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About