Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Using & in function callsby Sidhekin (Priest) |
on Sep 28, 2007 at 23:01 UTC ( [id://641636]=note: print w/replies, xml ) | Need Help?? |
&snafu, as you have it, without parentheses, is actually even more magical: It (Updated: Yeah, that's better. lodin++.) The &snafu(@args), &snafu(), and &snafu forms are useful in very rare situations, and the & is a nice flag for just those instances: When I see it in my code, I know I'm doing something strange. Which is also useful. So yeah, not just aesthetics. Compelling enough? You make the call. But my recommendation for &-form calls is as for prototypes: Don't use it if you don't mean it!
print "Just another Perl ${\(trickster and hacker)},"
In Section
Seekers of Perl Wisdom
|
|