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


in reply to OO-style modifiers for 'sub' ?

Without having spent much thought on it, I'd say you can probably cobble something like that together with Attribute::Handlers and one of the many sub wrapping modules such as Hook::WrapSub, though I'm not sure the idea is good in the first place. I may come back to post some code and/or further arguments after dinner. :)

Makeshifts last the longest.