perl6-language  

module init hooks and pragmas

Gaal Yahas
Sat, 30 Jul 2005 10:40:48 -0700

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 <[EMAIL PROTECTED]>
http://gaal.livejournal.com/
  • module init hooks and pragmas Gaal Yahas