Dear all, what is the best way today to implement a macro I used to code with Devel::Declare:
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).