On Sat Apr 10 14:26:00 2010, masak wrote:
> <masak> rakudo: class A {}; my $x = &A::nosuch
> <p6eval> rakudo 43f865: OUTPUT«Null PMC access in can() [...]
> * masak submits rakudobug

Now:

> class A {}; my $x = &A::nosuch
Code()

> <masak> is that still the way to get at a method in Perl 6?

Yes but only if you marked the method "our". Otherwise it's not
installed in da package.

Given to moritz++ for testing; note Code as what you get is good to test
for too:

00:00 <@jnthn> TimToady: say &nosuch::sub.WHAT # what should this be?
00:00 <@jnthn> TimToady: Failure object? Any()?
00:28 <@TimToady> jnthn: Code() I'd think

Thanks,

Jonathan


Reply via email to