On Fri Feb 06 23:12:31 2009, mberends wrote: > Improving the signal-to-noise ratio of the above, using perl6 -e'...': > > class A {method m(Str :$p){my $p2=$p // "";say "m$p2"}}; A.new.m("HAI") > class A {method m(Str :$p){my $p2=$p // "";say "m$p2"}}; A.new.m() > > The first line works. > The second dies saying 'Parameter type check failed for $p in call to m' > Now as of git 50a61ae they both work, as they should.
Thanks, Jonathan