If you need to work with 5.003, then avoid. Otherwise I would recommend this style in general.
Although doing it in a while loop is not normal for me. Usually I do things like:
foreach my $thing (@list) { #Something interesting }
In reply to RE (tilly) 1: redeclaring variables with 'my'
by tilly
in thread redeclaring variables with 'my'
by tune
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |