coldy has asked for the wisdom of the Perl Monks concerning the following question:
I can do this in a very ugly way to make @c by using loops and indexes, is there a clean way to do this?@a=(1,2,4,5,3) @b=(1,2,4,2,3) @c=(1,1,1,0,1)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: compare two arrays
by jwkrahn (Abbot) on Dec 15, 2008 at 04:42 UTC | |
by Anonymous Monk on Dec 15, 2008 at 04:59 UTC | |
by jwkrahn (Abbot) on Dec 15, 2008 at 09:39 UTC | |
Re: compare two arrays
by ccn (Vicar) on Dec 15, 2008 at 05:14 UTC | |
Re: compare two arrays
by matrixmadhan (Beadle) on Dec 15, 2008 at 05:31 UTC | |
by Anonymous Monk on Dec 15, 2008 at 07:16 UTC | |
Re: compare two arrays
by nagalenoj (Friar) on Dec 15, 2008 at 09:28 UTC | |
Re: compare two arrays
by moritz (Cardinal) on Dec 15, 2008 at 09:35 UTC | |
Re: compare two arrays
by johngg (Canon) on Dec 15, 2008 at 10:50 UTC | |
by jwkrahn (Abbot) on Dec 15, 2008 at 11:18 UTC | |
by johngg (Canon) on Dec 15, 2008 at 12:47 UTC |