in reply to Not Coder reference error - when i pass function by Refernce

\&add(10,1) is not a reference to sub add with the parameters, it's \( &add(10,1) ), so a reference to the return value of &add(10,1), so \11.

If you want to do something like Currying, write sub { add(10,1) } instead.