in reply to Re^2: Silencing specific warnings when executing coderef?
in thread Silencing specific warnings when executing coderef?

Parse::Keyword is a Perl interface to the XS pluggable keyword API.

Here's how I look for return and wantarray in Sub::Block (a module which might, by the way be useful for your purposes).

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name