[prog] quick perl question

Caroline Johnston johnston at biochemistry.ucl.ac.uk
Thu Mar 4 06:24:58 EST 2004


Hi all,

Anyone know if there's a way of checking what position in the array you're
in during a perl foreach loop, without declaring some kinda count
variable? Just sounded like the kind of thing there might be a bit of perl
magic for...

Cheers,

Cxx



More information about the Programming mailing list