- or download this
while (<RECORDS>) {
chomp;
...
$$v++;
}
}
- or download this
for (a..z) {$in {$_}=int rand(100) };
foreach (keys %in){
...
$$out{$_}=$in{$_}
}
foreach (keys %$out){print "out $_ is $$out{$_}\n"}
- or download this
foreach $field(@fieldList){
$$field = $in{'$field'};
}