http://www.perlmonks.org?node_id=11125802


in reply to Re^2: why avoid & on function call
in thread why avoid & on function call

Bareword use without parens is also the reason why the sub NAME; syntax without function {BODY} exists.

One can pre-declare functions for the first parse, which are later defined (or resolved via AUTOLOAD)

DB<188> sub frob; frob(1,2,3); sub frob { say "@_" } 1 2 3 DB<189>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery