Re: Moose::Object->equals();

[email protected] (Kent Fredric) Wed, 12 Jun 2013 09:27:32 +1200
Newsgroups perl.moose
Message-ID <CAATnKFBPBs3+HLnHFUXKtzn1iRwx6sZjezCnccmMctDoUf1U-g@mail.gmail.com>
On 10 June 2013 05:47, Karen Etheridge <[email protected]> wrote:

> On Sat, Jun 08, 2013 at 05:43:28PM -0500, Caleb Cushing wrote:
> > a while back I wrote a piece of code that was basically a generic
> > equals method for objects. I'm wondering if I patched moose to give
> > objects this functionality if it'd be accepted?
>
> I would lean towards providing this via an external role, at least at
> first.
>
>
There's this, which got started, but didn't go anywhere:

https://github.com/jrockway/MooseX-Data/blob/master/lib/MooseX/Data/Comparable.pm


-- 
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 )
for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz