in reply to Re: Re: Perl6 syntax being too much complex? How we will teach and read that?!
in thread Perl6 syntax being too much complex? How we will teach and read that?!
Or, the non-hardcoded version ...
Which sometimes is handy, sometimes not. In any case, this kind of ugly lookup hashes is no longer needed in Perl 6, as any(*@array) will DWYM.
$isAcceptable{$foo}
You mean %isAcceptable{$foo}. $foo{$bar} is $foo.{$bar} ($foo->{bar} in Perl 5).
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Perl6 syntax being too much complex? How we will teach and read that?!
by TimToady (Parson) on Mar 22, 2004 at 18:00 UTC | |
by Juerd (Abbot) on Mar 22, 2004 at 19:33 UTC | |
by TimToady (Parson) on Mar 22, 2004 at 20:27 UTC | |
by Juerd (Abbot) on Mar 22, 2004 at 22:03 UTC | |
by TimToady (Parson) on Mar 22, 2004 at 23:31 UTC |