in reply to Moose not passing object to triggered method

If I remove the existing_events argument from the code, the triggered method no longer gets called. So I think the passing in an argument is the problem. Is it possible to pass an argument to a triggered method?

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^2: Moose not passing object to triggered method
by Anonymous Monk on Mar 22, 2016 at 14:32 UTC
    Is it possible to pass an argument to a triggered method?

    I'm not sure about Moose, but in general this is called Currying (or "partial application"). The simplest form in Perl is shown in the other reply, but a quick search shows several modules that claim to make this easier (disclaimer: I haven't used any of them).