Perl6 MetaModelby mkirank (Chaplain)
|on Jul 25, 2005 at 13:38 UTC||Need Help??|
mkirank has asked for the
wisdom of the Perl Monks concerning the following question:
I am looking at the MetaModel in Pugs and trying to understand
In MetaModel.pm at the beginning there is an import function wherein the following subs are put in the name space
when the Object module is loaded the sub class in the Metamodel is called.
What happens when the below code is executed ?
also how does 2 parameters gets passed to the class method (name and params) ?
how do those subs with "DUMMY" get created
This gives the following in class ($name and $params)