- or download this
my ($foo, $bar, @baz) = @_;
- or download this
sub some_method {
my $self = shift;
my ($foo, $bar, @baz) = @_;
...;
}
- or download this
around some_method => sub {
my ($orig, $self) = (shift, shift);
my ($foo, $bar, @baz) = @_;
...;
};
- or download this
sub mygrep {
my $code = shift;
my (@items) = @_;
...;
}