-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 18 Jan 2000 08:44:48 -0500 (EST), Jeff Pinyan wrote: >you can get that simply with > > $i = 0; > for (@array) { > # ... > $i++; > } Or, obfuscatedly: for (my ($i) = 0 and @array) { # ... $i++; } C<my ($i) = 0> instead of C<my $i = 0> to be -w friendly. /L/e/k/t/u -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com> iQA/AwUBOIRl1f4C0a0jUw5YEQIJCgCfU1Ufv5jZUgjoeB/rjQg8eK3+OQoAn14A aP/o9biZTNoZdLBNgVEKgyLs =OsKi -----END PGP SIGNATURE----- ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe