in reply to Re: Idiomatic Array Index Search?
in thread Idiomatic Array Index Search?
prints: '0123450123456'my @array = qw(a b c d e f); for (0..$#array) {print $_} # zero thru last index for (0..@array) {print $_} # zero thru size of array
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Idiomatic Array Index Search?
by tachyon (Chancellor) on May 27, 2001 at 09:28 UTC |