Dear Master Monks,
In Learning Perl I see my $blah = @_; and in the Camel, I see my $blah = shift;
Why the difference? Do they not do the same thing?
Update: I meant my ($blah) = @_;
Thanks,
Gavin.
In reply to Subroutines: @_ and shift by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |