in reply to Re: calling a function as a value from a hash
in thread calling a function as a value from a hash
&$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;.
|
|---|