On Sunday, May 27, ToddAndMargo wrote: 
> Hi Brian,
> 
> `^name` is sweet.  Why the caret?  (I realize it won't work without it.)

The caret is shorthand for .HOW.name(object), i.e.

        ~ $ perl6 -e 'say 12.^name'
        Int

same thing:

        ~ $ perl6 -e 'say 12.HOW.name(12)'
        Int

Brian

Reply via email to