We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b38d71 commit 97ad92fCopy full SHA for 97ad92f
doc/Language/classtut.pod6
@@ -695,7 +695,6 @@ we can ask it a few questions:
695
=begin code :preamble<my $o; class Employee {}; class GeekCook {}>
696
if $o ~~ Employee { say "It's an employee" };
697
if $o ~~ GeekCook { say "It's a geeky cook" };
698
- say $o.WHAT
699
say $o.perl;
700
say $o.^methods(:local)».name.join(', ');
701
say $o.^name;
0 commit comments