http://www.perlmonks.org?node_id=407209

DrWhy has asked for the wisdom of the Perl Monks concerning the following question:

From the no-that's-not-pedantic-enough-yet department:

What's the current Perl etiquette/style/conventional wisdom on when to prepend function calls with '&' and when to leave them off? I've got a situation where there are global functions being used all over the place inside other packages. The code looks like:

my $result = &::function($arg1,$arg2, ...);

Would it be preferrable to do this instead:

my $result = ::function($arg1,$arg2, ...);
?
--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."