in reply to Re^3: GetOpt::Long usage style
in thread GetOpt::Long usage style
'multi=s' => (my $multi = [1..3]),
Same for a hash/hashref. Admittedly it is not quite the same as what one would expect from
'multi=s' => (\my @multi = (1..3)),
Which throws an error, which I think is arguably an error in Perl.
BTW, sorry it took me so long to reply, and thanks for adding your point.