phemal has asked for the wisdom of the Perl Monks concerning the following question:
Thanks in advance Hemal@array =qw (34 56 78 9); foreach (@array) { here i want to print the index of array }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how can i get the index value of array during runtime
by davorg (Chancellor) on Mar 02, 2007 at 10:20 UTC | |
|
Re: how can i get the index value of array during runtime
by Samy_rio (Vicar) on Mar 02, 2007 at 10:16 UTC | |
|
Re: how can i get the index value of array during runtime
by derby (Abbot) on Mar 02, 2007 at 10:17 UTC | |
|
Re: how can i get the index value of array during runtime
by siva kumar (Pilgrim) on Mar 02, 2007 at 10:19 UTC | |
by GrandFather (Saint) on Mar 02, 2007 at 10:59 UTC | |
by siva kumar (Pilgrim) on Mar 02, 2007 at 11:32 UTC |