Mar 30, 2000, 5:00 AM
Post #2 of 2
The 'perlsub' documentation does a better job of explaining this, but I will paraphrase.
1. function() -- if function() has prototypes, they will be honored
2. &function() -- prototypes are NOT honored
3. &function -- the same as saying &function(@_)
In most cases, you really don't need the & sign -- it's from Perl 4 code, most likely.