Re: MooseX::OmniTrigger

2011-12-22 Thread Karen Etheridge
On Mon, Dec 19, 2011 at 11:40:32AM -0700, Todd Lorenz wrote: Unlike standard triggers, omnitriggers will fire on any initialization, setting, or clearing of the attribute value, and they're protected from recursion. (And they eliminate a couple of very esoteric bugs I found with standard

Re: MooseX::OmniTrigger

2011-12-22 Thread Evan Carroll
Can you elaborate on these bugs? It's not a bug, but the default trigger and intializer behavior were supremely awkward. In no case thus far have I found it to be what I wanted. I wrote about this back in 08'. I don't think any non-core dev that has the grid memorized.

Re: MooseX::OmniTrigger

2011-12-22 Thread Todd Lorenz
actually read it. Let me know if it needs translation. -Original Message- From: Karen Etheridge Sent: Thursday, December 22, 2011 1:21 PM To: moose@perl.org Subject: Re: MooseX::OmniTrigger On Mon, Dec 19, 2011 at 11:40:32AM -0700, Todd Lorenz wrote: Unlike standard triggers, omnitriggers

Re: MooseX::OmniTrigger

2011-12-22 Thread Karen Etheridge
of #2 is pretty flip -- I didn't figure anyone would ever actually read it. Let me know if it needs translation. Using: https://github.com/trlorenz/MooseX-OmniTrigger/blob/master/t/007-mooseisms.t # POSSIBLE MOOSE BUG #1. DURING A REBLESS, REGULAR TRIGGERS WILL FIRE FOR # ANY ATTRIBUTES

Re: MooseX::OmniTrigger

2011-12-22 Thread Todd Lorenz
Subject: Re: MooseX::OmniTrigger On Thu, Dec 22, 2011 at 02:36:00PM -0700, Todd Lorenz wrote: Hi, Karen, sure. I should say I *suspect* they're bugs based on my expectations of trigger behavior. I should also say they're extremely minor and probably aren't affecting anyone anywhere. They're

Re: MooseX::OmniTrigger

2011-12-19 Thread Todd Lorenz
A possibly more readable example attached :) -Original Message- From: Jason Galea Sent: Sunday, December 18, 2011 9:36 PM To: Todd Lorenz Cc: moose@perl.org Subject: Re: MooseX::OmniTrigger On Mon, Dec 19, 2011 at 2:02 PM, Todd Lorenz trlor...@hotmail.com wrote: So far as I’ve been