Just another Perl shrine | |
PerlMonks |
Re^3: Moose Role to include Use statementsby stvn (Monsignor) |
on Feb 21, 2011 at 18:04 UTC ( [id://889438]=note: print w/replies, xml ) | Need Help?? |
One included module with imported method didn't work when in the Role file anyway so had to abort that approach This is because Moose recognizes the difference between an imported function and a method. That and roles don't have an import method (and never should IMO anyway).
-stvn
In Section
Seekers of Perl Wisdom
|
|