I saw this already.

But if Moose claims to implement the generalized term for all "loosely" related concepts, then it should also implement the specialized core meaning.

Did I miss a possibility to use having such that the method is called with the original $self?

If yes please show me how. *

It's like organizing "Pan-American Games" for Argentines and Canadians and excluding US Americans.

> but as that terminology and use is far from uncommon

In PHP and some other languages it's common to use "closure" synonymous for "anonymous function".

I call this bullshit, because neither is every anno function closing over variables from an outer scope nor are named functions excluded from being closures.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

update

To avoid misunderstandings, I prefer Forwarding over Delegation, it's much easier to handle.

But it seems that Perl 6 is the source of this terminology, and that Moose just copied the concept.

update

*) does currying allow to change $self?


In reply to Re^13: RFC: OO Perl using Moo/Moose book by LanX
in thread RFC: OO Perl using Moo/Moose book by Perl300

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.