> How about recursive calls to want(), similar to multiple $$$'s? > > if (want(want(want))) eq 'HASH' ) No, that's heading in the wrong direction (both figuratively and literally :-) C<want> with no arguments returns a list of valid contexts. C<want> with arguments expects a list of contexts and returns true if they're valid. So: want(want) is always true (in fact that's a good conformance test for C<want>). Thus: want(want(want)) is: want($some_positive_integer) which is (almost certainly) false, so: want(want(want(want))) is (almost certainly) false too, etc., etc. Damian
- RFC 132 (v1) subroutines should be able to return an l... Perl6 RFC Librarian
- Re: RFC 132 (v1) subroutines should be able to re... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines should be able t... Jonathan Scott Duff
- Re: RFC 132 (v1) subroutines should be ab... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines should b... Jonathan Scott Duff
- Re: RFC 132 (v1) subroutines sho... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines should be ab... Johan Vromans
- Re: RFC 132 (v1) subroutines should be ab... Damian Conway
- Re: RFC 132 (v1) subroutines should b... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines sho... Nathan Wiger
- Re: RFC 132 (v1) subroutines sho... Damian Conway
- Re: RFC 132 (v1) subroutines should b... Damian Conway
- Re: RFC 132 (v1) subroutines sho... Chaim Frenkel
- Re: RFC 132 (v1) subroutines should be able to re... Randal L. Schwartz
- Re: RFC 132 (v1) subroutines should be able t... Johan Vromans
- Re: RFC 132 (v1) subroutines should be ab... Randal L. Schwartz
- Re: RFC 132 (v1) subroutines should b... Johan Vromans
- Re: RFC 132 (v1) subroutines sho... Nathan Torkington
- Re: RFC 132 (v1) subroutines... Johan Vromans
- Re: RFC 132 (v1) subroutines should b... Damian Conway
- Re: RFC 132 (v1) subroutines sho... Johan Vromans