Ovid wrote:
> If I call this:
>
>   if $class.^can('wibble') { ... }
>
> Does Perl 6 return false if that's only an instance method?  Will the
> WALK iterator returned by .^can return references to instance methods?

As I understand it, Perl 6 generally doesn't bother with the
class-vs-instance distinction.  Instead, it uses an "objects and
prototypes" paradigm, much like the distinction between proper nouns
and common nouns.

-- 
Jonathan "Dataweaver" Lang

Reply via email to