Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Can't use two Moose classes with the same coercion action

by castaway (Parson)
on Apr 25, 2009 at 21:07 UTC ( #760062=note: print w/ replies, xml ) Need Help??


in reply to Can't use two Moose classes with the same coercion action

You can also put your coercion in a separate types class, and include that in both Foo and Bar, then you only get them loaded once.

C.


Comment on Re: Can't use two Moose classes with the same coercion action
Re^2: Can't use two Moose classes with the same coercion action
by KSURi (Monk) on Apr 27, 2009 at 10:59 UTC
    I've done this right after I was advised to read documentation carefully :) But thanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (18)
As of 2015-07-06 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls