Closed snoopyjc closed 1 year ago
Array to Hash map idiom with , instead of => generates bad code. For example (from Date::Manip::Date):
,
=>
my %mn_form = map { $_,1 } qw( M s o );
raises an IndexError in list_to_hash.
Fixed in v1.030
Array to Hash map idiom with
,
instead of=>
generates bad code. For example (from Date::Manip::Date):raises an IndexError in list_to_hash.