Ping about Traits and List::Util stuff on Array

2010-09-30 Thread Evan Carroll
I have two questions: * Should the Array trait using List::Util permit regexes? i.e. perl -MList::Util -wE'use List::Util qw/first/; say first {/foo/} qw/bar foo bazko bazfoo/' package Class; use Moose; has foo = ( isa = ArrayRef, is = rw, traits = ['Array'], handles = {

Re: Ping about Traits and List::Util stuff on Array

2010-09-30 Thread Jesse Luehrs
On Thu, Sep 30, 2010 at 05:13:28PM -0500, Evan Carroll wrote: I have two questions: * Should the Array trait using List::Util permit regexes? i.e. perl -MList::Util -wE'use List::Util qw/first/; say first {/foo/} qw/bar foo bazko bazfoo/' package Class; use Moose; has