in reply to Re: Moose? Add a new attribute to a XML::Feed::Content object?
in thread Moose? Add a new attribute to a XML::Feed::Content object?

By monkey patch, do you mean modifying my local version of XML::Feed::Content.pm? The reason I mention Moose is because I thought the right solution would be a Moose class that inherits everything from XML::Feed::Content, and then add the additional trait body_alt.
  • Comment on Re^2: Moose? Add a new attribute to a XML::Feed::Content object?

Replies are listed 'Best First'.
Re^3: Moose? Add a new attribute to a XML::Feed::Content object?
by Your Mother (Archbishop) on Mar 28, 2011 at 16:32 UTC

    Monkey patch means extend/modify code while running / at run time. So the suggestion means, just add that code to your actual script/program and not your locally installed module. Looks like a good suggestion for the short term. Might submit a patch/ticket to the module to get the feature for real down the road.