On 19 Aug 2004, at 18:04, Luke Palmer wrote:
[...]
my $num = $param == 0 ?? 0 : rand $param;
my $num = $param == 0 ?? 0 :: rand $param;
surely?
a little off theme.. I wanna ask, could be there in perl6 any difficulties with recognizing C<::> as part of C<... ?? ... :: ...> and C<::> as "module sigil"? Does it involve some DWIM? Would we have mandatory space after C<?? ::> ?
I didn't get perl6 syntax well yet, so if it's true, you can give better examples yourself..