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).
In reply to Re^3: Silencing specific warnings when executing coderef?
by tobyink
in thread Silencing specific warnings when executing coderef?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |