Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to be able to call a function for each array, passing the values to the function. Can someone please advise on how to do this or where to read up on working with such data? Thanksuse strict; use warnings; my $arref = [ ['text1','Num1'], ['text2','Num2'], #and so on ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Array of array - How to call a function for each array?
by toolic (Bishop) on Jul 07, 2011 at 13:59 UTC | |
|
Re: Perl Array of array - How to call a function for each array?
by shevek (Beadle) on Jul 08, 2011 at 04:54 UTC | |
by Somni (Friar) on Jul 09, 2011 at 02:51 UTC | |
by Anonymous Monk on Jul 09, 2011 at 03:06 UTC |