http://qs321.pair.com?node_id=723825

mandog has asked for the wisdom of the Perl Monks concerning the following question:

Perl::Critic and Perl Best Practices book flag this loop as "C-style":

for ( my $i = 0; $i < @values; $i++ ) { $values[$i] = _clean_cgi_param( $values[$i] ); }
This is better:
my @cleaned_values; for $value ( @values) { push @cleaned_values, _clean_cgi_param($value); }

Right ?