Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
Replies are listed 'Best First'.
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 chanting in the Monastery: (12)
As of 2016-02-09 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (326 votes), past polls