http://www.perlmonks.org?node_id=743973


in reply to Re^2: Support for attributes:get in Attribute::Handlers?
in thread Support for attributes:get in Attribute::Handlers?

Thank you. - yes, this is hand-rolling, a workaround, and IMHO Attribute::Handlers should shoehorn FETCH_<type>_ATTRIBUTES methods into the caller's namespace, if not already there yet. Best thing to do would be patching Attribute::Handlers, but since I haven't done much with attributes yet, and haven' got (yet) a full understanding neither of what's going on inside Attribute::Handlers nor why it is written as it is; and since the POD states

BUGS
There are undoubtedly serious bugs lurking somewhere in code this funky :-) Bug reports and other feedback are most welcome.

it is quite easy for me to abstain from adding bugs - and patching code of TheDamian's make is a terrible thing to do... ;-)

You could send TheDamian "other feedback", though.

  • Comment on Re^3: Support for attributes:get in Attribute::Handlers?