develooper Front page | perl.moose | Postings from March 2009

Re: triggers and the single meta-attr object

Thread Previous
From:
Hans Dieter Pearcey
Date:
March 29, 2009 18:43
Subject:
Re: triggers and the single meta-attr object
Message ID:
20090329151822.GG3018@glaive.weftsoar.net
On Sun, Mar 29, 2009 at 09:43:45AM -0500, Dave Rolsky wrote:
> That's not true. For a long time, immutablized classes have not passed 
> the meta-attr to the trigger (except from the constructor).

ec2e2ee5 is mst's commit (Dec 9 2008) removing the meta-attr argument.

% git blame -M -w lib/Moose/Meta/Method/Accessor.pm ec2e2ee5^ | fgrep '$attr->trigger'
d617b644 (Stevan Little    2006-11-02 21:02:04 +0000 231)     return sprintf('$attr->trigger->(%s, %s, $attr);', $instance, $value);

It worked for two years before mst turned it off, as far as I can tell.

hdp.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About