in reply to Your named arguments
When I finish my Sub::Parms module that will become (using the default 'required' mode):use Class::ParmList qw(simple_parms); sub convert { my ($from, $to, $thing) = simple_parms([qw(from to thing)], @_); #... }
use Sub::Parms; sub convert { BindParms : ( my $from := from; my $to := to; my $thing := thing; ) #... }
|
---|