And if you don't have an argument to pass, isn't it weird to have empty parenthesis?
$hashref->{'key'}->();
In reply to Re^2: How to call a sub-routine ref
by greengaroo
in thread How to call a sub-routine ref
by greengaroo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |