Re: List::MoreUtils with array of arrays not working

2014-07-10 Thread Jim Gibson
On Jul 10, 2014, at 11:50 AM, Natxo Asenjo wrote: > On Thu, Jul 10, 2014 at 1:00 AM, Jim Gibson wrote: > > On Jul 9, 2014, at 2:58 PM, Natxo Asenjo wrote: > > On Wed, Jul 9, 2014 at 10:35 PM, Jim Gibson wrote: > > On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > > In order to use the hash m

Re: List::MoreUtils with array of arrays not working

2014-07-10 Thread Natxo Asenjo
On Thu, Jul 10, 2014 at 1:00 AM, Jim Gibson wrote: > > On Jul 9, 2014, at 2:58 PM, Natxo Asenjo wrote: > > On Wed, Jul 9, 2014 at 10:35 PM, Jim Gibson > wrote: > > On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > > In order to use the hash method of determining uniqueness, you must > convert

Re: List::MoreUtils with array of arrays not working

2014-07-09 Thread Jim Gibson
On Jul 9, 2014, at 2:58 PM, Natxo Asenjo wrote: > > > > On Wed, Jul 9, 2014 at 10:35 PM, Jim Gibson wrote: > > On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > > > hi, > > > > i have an array of arrays which contains equal elements. I would like to > > isolate the unique values. > > Do y

Re: List::MoreUtils with array of arrays not working

2014-07-09 Thread Natxo Asenjo
On Wed, Jul 9, 2014 at 10:35 PM, Jim Gibson wrote: > > On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > > > hi, > > > > i have an array of arrays which contains equal elements. I would like to > isolate the unique values. > > Do you mean that the subarrays contain equal NUMBERS of elements? ye

Re: List::MoreUtils with array of arrays not working

2014-07-09 Thread Jim Gibson
On Jul 9, 2014, at 1:20 PM, Natxo Asenjo wrote: > hi, > > i have an array of arrays which contains equal elements. I would like to > isolate the unique values. Do you mean that the subarrays contain equal NUMBERS of elements? > > I have tried using the uniq method of List

List::MoreUtils with array of arrays not working

2014-07-09 Thread Natxo Asenjo
hi, i have an array of arrays which contains equal elements. I would like to isolate the unique values. I have tried using the uniq method of List::MoreUtils but it apparently does not work with an AoA. This is what I tried: for my $i ( @$data_ref ) { push $seen_ref, [ $i->{'valu

Re: List::MoreUtils

2012-08-09 Thread Octavian Rasnita
From: "Martin Barth" Subject: Re: List::MoreUtils Hi Shlomi, Everyone On 12:38:40 08/08/2012 Shlomi Fish wrote: perl-5.10.1 is very old and no longer actively maintained. There's already perl-5.16.0. List::MoreUtils is at version 0.33: https://metacpan.org/release/List-Mor

Re: List::MoreUtils

2012-08-08 Thread Martin Barth
Hi Shlomi, Everyone On 12:38:40 08/08/2012 Shlomi Fish wrote: > perl-5.10.1 is very old and no longer actively maintained. There's > already perl-5.16.0. List::MoreUtils is at version 0.33: > https://metacpan.org/release/List-MoreUtils . I am aware that this perl is quite an old o

Re: List::MoreUtils

2012-08-08 Thread Shlomi Fish
Hi Martin, On Wed, 08 Aug 2012 11:44:10 +0200 "Martin Barth" wrote: > Hello Everyone, > > I am slightly confused... > > I've got a Centos 6.3 Installation with its perl (version 5.10.1) and > i am Using the Module List::MoreUtils which comes with the Linux >

List::MoreUtils

2012-08-08 Thread Martin Barth
Hello Everyone, I am slightly confused... I've got a Centos 6.3 Installation with its perl (version 5.10.1) and i am Using the Module List::MoreUtils which comes with the Linux Distribution. [root@bach perl-lib]# cd /tmp/ [root@bach tmp]# perl -MList::MoreUtils -MData::Dumper -wle 'pr