Same without eval:
We can also use some trickery:do { no strict "refs"; $subname->( 4 ) }
( \&$subname )->( 4 )
In reply to Re^2: How to make a variable in hard call.
by ikegami
in thread How to make a variable in hard call.
by Konan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |