in reply to Devel::Declare is deprecated, what’s instead?

> x $foo, sub {}

I don't really understand what you are trying to achieve, but if Function::Parameters is an option, it's based on Keyword::Simple from the same author, which facilitates the use of Pluggable keywords a lot.

Be warned that keywords need >5.12 and only expand at the start of a statement (like after a semicolon). otherwise we could have a real syntactic macro (i.e. Lisp like) mechanism in Perl.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice