Subject: | Parameter style |
The parameters to an extracted sub are shifted from @_.
I usually use this style for subroutines:
my ($param1, $param2) = @_;
and this style for methods:
my $self = shift;
my ($param1, $param2) = @_;
What do you think of an option to support different styles of generating the param declaration?
/J