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

not 4,3,2,1,0;

Thread Next
From:
Autrijus Tang
Date:
May 16, 2005 10:48
Subject:
not 4,3,2,1,0;
Message ID:
20050516174820.GB19964@aut.dyndns.org
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?

Thanks,
/Autrijus/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About