Thank you.
I understand that i have to override import(). But as i use Perl6::Export::Attrs, i'm reading in the doc that i have to use an IMPORT block instead. I'm going to try this.
Another idea for "cheating" : having a CLASS() method which would contain my parameter, and which i would override by monkeypatching.
Not very clean though, i'll try the IMPORT thing.
In reply to Re^2: How to pass an argument to a Module?
by mascip
in thread How to pass an argument to a Module?
by mascip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |