in reply to Re: Consise way to filter out keys with undef values from a hash slice?
in thread Consise way to filter out keys with undef values from a hash slice?

> with Perl 5.30.0 I get no errors or warnings

5.20.0 Delta: New slice syntax.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
  • Comment on Re^2: Consise way to filter out keys with undef values from a hash slice?
  • Download Code

Replies are listed 'Best First'.
Re^3: Consise way to filter out keys with undef values from a hash slice?
by kcott (Archbishop) on Jun 02, 2020 at 09:52 UTC
      Then I've probably misunderstood the part of your post I quoted.

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

        No worries. :-)

        — Ken