There's rarely any need to use the ampersand notation. I think you shouldn't use it unless necessary.Some people feel more comfortable using &. It leads to less action at a distance (where perl parses differently depending on whether it's already seen a sub declaration). But if you do choose to use &, always use () with it.
In reply to Re^2: Has Perl gone completely insane on me?
by ysth
in thread Has Perl gone completely insane on me?
by kos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |