on keys and lookup in the loop with a foreach on values, as values is
"now" an LVALUE iterator.
p4raw-id: //depot/perl@32209
my($XSS_work_idx, $cpp_next_tmp);
use vars qw($VERSION);
-$VERSION = '2.18';
+$VERSION = '2.18_01';
use vars qw(%input_expr %output_expr $ProtoUsed @InitFileCode $FH $proto_re $Overload $errors $Fallback
$cplusplus $hiertype $WantPrototypes $WantVersionChk $except $WantLineNumbers
close(TYPEMAP);
}
- foreach my $key (keys %input_expr) {
- $input_expr{$key} =~ s/;*\s+\z//;
+ foreach my $value (values %input_expr) {
+ $value =~ s/;*\s+\z//;
}
my ($cast, $size);