in reply to Re^2: 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?

Could you elaborate on the reason for providing that link.

LanX had already noted the new syntax ("... it was introduced with 5.20 ...") so I saw no reason to comment further in my post.

Not that you would have known, but I did check the information from a different source: https://perldoc.perl.org/5.30.0/perldata.html#Key%2fValue-Hash-Slices via https://perldoc.perl.org/5.30.0/functions/delete.html (link in second paragraph).

— Ken

  • Comment on Re^3: Consise way to filter out keys with undef values from a hash slice?

Replies are listed 'Best First'.
Re^4: Consise way to filter out keys with undef values from a hash slice?
by choroba (Cardinal) on Jun 02, 2020 at 10:00 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