in reply to Copy an hash modifying some selected values
> I would want to check only these values...
If you already have the list, just process it...
for ( $hash1{key1}, $hash1{key2}{key22}, $hash1{key2}{key23} ){ $_ = File::Spec->file_name_is_absolute($_) ? $_ : File::Spec->rel2 +abs($_) }
If you want to copy and modify, just copy the hash and modify the copy. Anyway Data::Diver is a very cool module, but when simpler solutions are use them.
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Copy an hash modifying some selected values
by Anonymous Monk on Nov 08, 2018 at 08:39 UTC |