in reply to Re^2: Add value from one array element into another of same ID
in thread Add value from one array element into another of same ID

What version of Perl are you running? length undef should return undef without warnings since 5.012 (April 2010), if I remember correctly.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: Add value from one array element into another of same ID
by Anonymous Monk on May 27, 2021 at 19:21 UTC
    v5.10.1
      push @new, $d if defined $d->{Name} && length $d->{Name} && ! exists $used{ $d-> +{Name} };