&$cmd; is not the same as &$cmd();. With &$cmd;, you'll get the parent's @_, which means @_ could have values even though no arguments were provided. It also means you risk clobbering the parent's @_. I advise against &$cmd;.
In reply to Re^2: calling a function as a value from a hash
by ikegami
in thread calling a function as a value from a hash
by shobhit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |