in reply to Re^2: A couple questions on Moose::MOP::Class
in thread A couple questions on Moose::MOP::Class

How does it tell? Any sub created in the Package looks the same... how does it know you intend to call it using the arrow-notation dispatch and expect the class or instance as the first parameter?
  • Comment on Re^3: A couple questions on Moose::MOP::Class

Replies are listed 'Best First'.
Re^4: A couple questions on Moose::MOP::Class
by chromatic (Archbishop) on May 03, 2011 at 05:38 UTC

    I added a method keyword.

      That is cheating :)

      -stvn

        Specificity is the only solution to ambiguity.