Works great, I did not realize you could put a hash ref in a scaler, so this was something new to me also. Tks again.my $hash = $hash_name eq 'dat' ? \%dat_mapping : \%eng_mapping; for my $file_name (keys %$hash) {
In reply to Re^2: Hash with sub
by ed_r
in thread Hash with sub
by ed_r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |