develooper Front page | perl.perl6.language | Postings from May 2005

not 4,3,2,1,0;

Thread Next
Autrijus Tang
May 16, 2005 10:48
not 4,3,2,1,0;
Message ID:
This evaluates to 1 in Perl 5: 

    not 4,3,2,1,0;

Namely, the "not" listOp is taking the last of a variadic, non-slurpy
argument list, boolify it, and return its negation.

What is the Perl 6 signature that correspond to this behaviour?

Also, is this still sane for Perl 6's &not?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About