timo@schmetterling ~> perl6 -e '#| this is sub foo documentation
                      sub foo() { };
                      say &foo.WHY;
                      say &foo.WHY.WHEREFOR'
this is sub foo documentation
No such method 'WHEREFOR' for invocant of type 'Pod::Block::Declarator'.
Did you mean 'WHEREFORE'?
  in block <unit> at -e line 4

timo@schmetterling ~ [1]> perl6 -e '#| this is sub foo documentation
                          sub foo() { };
                          say &foo.WHY;
                          say &foo.WHY.WHEREFORE'
this is sub foo documentation
sub foo () { #`(Sub|49720168) ... }

WHEREFOR is the opposite of WHY, it gives you back what the object is
that a piece of declaration describes.

HTH
  - Timo

Reply via email to