sub_name(
param1 => 'value1',
param2 => 'value2',
);Define subs like this:
sub sub_name {
my $p1 = {@_}->{param1};
my $p2 = {@_}->{param2};
# etc
my $p1 = {@_}->{param1};
my $p2 = {@_}->{param2};
# etc
}
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.