CC: | rakudobug [...] perl.org |
Subject: | Using "any" and "all" with "defined" |
Hello, I'm not sure if it is a bug or a forced misfeature, but the
following code does not work as I'd expect:
$ perl -MQuantum::Superpositions -le 'print defined all(undef, 0, 1);'
1
$ perl -MQuantum::Superpositions -le 'print defined any(undef, undef);'
1
BTW, Perl 6 (Rakudo "Seoul") does the same:
$ perl6 -e 'say defined all(undef, 0, 1)'
1
$ perl6 -e 'say defined any(undef, undef)'
1
Could you please comment this issue?