in reply to Re^2: why avoid & on function call (updated x 3)
in thread why avoid & on function call
> are some other examples when you would use the ampersand to refer to a named function.
goto was already mentioned :)
> > ²) some built-ins require & with named subs as arguments, like goto, map , grep , sort
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
In Section
Seekers of Perl Wisdom