in reply to Re^6: check possible combination of sum using given array
in thread check possible combination of sum using given array

> isn’t the same

Even return and return undef aren't the same.

sub plain { return } sub Undef { return undef } my @empty = plain(); my @nonempty = Undef(); die 'Different' unless @empty == @nonempty;

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

Replies are listed 'Best First'.
Re^8: check possible combination of sum using given array
by karlgoethebier (Abbot) on Jul 11, 2019 at 18:02 UTC

    Wow! (No kidding). This is jesuitisch raffiniert.

    I wonder what might happen when it’s sub kgb {undef}. 🤪 Probably nothing special. Works as designed. Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

    J