sankar R has asked for the wisdom of the Perl Monks concerning the following question:
1. i want to access two elements in single index
2. for example i am having array1[10][2]
3. i want to use it as array1[0][0], array1[0][1], and array1[1][0],array1[1][1]
4. i increase first dimension but want to access two elements with fixed index is it possible?
5. give me some sample code for this concept
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to use two dimensional array?
by muba (Priest) on Jun 14, 2013 at 05:57 UTC | |
|
Re: how to use two dimensional array?
by 2teez (Vicar) on Jun 14, 2013 at 05:35 UTC | |
|
Re: how to use two dimensional array?
by BillKSmith (Monsignor) on Jun 14, 2013 at 10:47 UTC | |
by hbm (Hermit) on Jun 14, 2013 at 11:52 UTC | |
by BillKSmith (Monsignor) on Jun 14, 2013 at 13:02 UTC |