Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by castaway (Parson)
on Apr 25, 2009 at 21:07 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://760062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found