Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
go ahead... be a heretic
 
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 taking refuge in the Monastery: (7)
As of 2014-04-20 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls