"be consistent" | |
PerlMonks |
Re^2: To & or not to & ?by Aighearach (Initiate) |
on Nov 11, 2004 at 23:29 UTC ( [id://407222]=note: print w/replies, xml ) | Need Help?? |
Note that, & only passes @_ IF you leave off the parens.
So that, if bar was implemented then it wouldn't pass anything at all to foo. So, &FUNC should be considered a different way to call than &FUNC(), because only one of them does something different than FUNC() -- Snazzy tagline here
In Section
Seekers of Perl Wisdom
|
|