in reply to Re: sprintf and for loop weirds???
in thread sprintf and for loop weirds???
to avoid the possiblity of the off-by-one mistake in the first place. ;-)for my $n (0..$#a) { ... }
Update: or for (@a) as larsen notes below....
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: sprintf and for loop weirds???
by rob_au (Abbot) on Nov 04, 2001 at 16:20 UTC | |
by blakem (Monsignor) on Nov 04, 2001 at 16:26 UTC | |
by rob_au (Abbot) on Nov 04, 2001 at 17:30 UTC |