x {} needs to be expanded as x $foo, sub {}. I tried Syntax::Keyword, it doesn’t allow to use x as function parameter. Function::Parameters looks rather complicated if I want to copy the macro mechanics. I wonder if there is a module that can help me?
Update: submitted a patch to Syntax::Keyword to allow expressions. Let's see if it is accurate enough ( I basically just hacked in parse_fullexpr() and that's all).
In reply to Devel::Declare is deprecated, what’s instead? by dk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |