suffice? If not, could you clarify your intent?$i=0; foreach $e (@s) { print $i++." $e\n"; }
In reply to Re: Keeping a Count in foreach
by insensate
in thread Keeping a Count in foreach
by arunhorne
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |