When I first started coding, I'd pick up parameters in functions thus:
sub myFunc {
my self = shift;
# stuff
}
I've noticed that people have moved to a new style:
sub myFunc {
my ($self) = @_;
# stuff
}
Is there a good compelling reason for this (new to me) style?
--
Ian "Perl Laghu" Stuart.