Are there any differences between these two idioms if only one or zero 
arguments are passed to them?

my ($mode) = @_;

my $mode = shift;

        If so, why would you chose one over the other?

        It seems to me that they behave exactly the same for this purpose, but 
maybe there's a subtle difference that I'm not aware of.

Thanks,
Marc
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to