I have several classes that all have a common attribute, so I've created a Role to define this attribute.
All of these classes also ALL "use" the same batch of modules.
Is there anything wrong with "using" all these modules in my Role so they're all shared? and so neaten up/shorten my code a bit?
Even to the point of putting "use Data::Dumper" in the Role so I know Dumper() is always available.
Cheers
In reply to Moose Role to include Use statements by Cagao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |