in reply to how can i get the index value of array during runtime
@array =qw (34 56 78 9); $index = 0; foreach (@array) { print "$index \t $_ \n"; $index++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how can i get the index value of array during runtime
by GrandFather (Saint) on Mar 02, 2007 at 10:59 UTC | |
by siva kumar (Pilgrim) on Mar 02, 2007 at 11:32 UTC |