On Sun, May 27, 2018 at 7:16 PM ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote:

    On 05/27/2018 03:42 PM, Brian Duggan wrote:
     >       ~ $ perl6 -e 'say 12.HOW.name <http://12.HOW.name>(12)'
     >       Int

    Does the "12" have to be repeated?

On 05/27/2018 04:17 PM, Brandon Allbery wrote:
In the long form, yes. That's why the ^ shorthand exists.

With the long form you have to start from an object of the same type to get to its metamodel, then pass the object you're actually asking about to the metamodel method; the simplest way to do this is to reuse the same object.


I understand.  Thank you!

Perl: 1001 ways to do everything.  1002 coming soon!

Reply via email to