Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Moose Role to include Use statements

by stvn (Monsignor)
on Feb 21, 2011 at 18:04 UTC ( #889438=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Moose Role to include Use statements
in thread Moose Role to include Use statements

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


Comment on Re^3: Moose Role to include Use statements
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-11-27 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls