in reply to Re^3: why avoid & on function call (pre-declaration)
in thread why avoid & on function call
There are use cases, like plugin systems or delayed compilation on demand.
NB: prototypes can be pre-declared too, so just applying parenthesis instead of ampersand wouldn't help, if you want an explicit prototype check.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|