Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Copy an hash modifying some selected values

by ikegami (Patriarch)
on Nov 07, 2018 at 19:24 UTC ( [id://1225380]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Diver qw( DiveVal );
    
    ...
       my $new_val = ...;
       DiveVal(\%hash, map \$_, @path) = $new_val;
    }
    
  2. or download this
    sub dive_val :lvalue {
       my $p = \shift;
    ...
       my $new_val = ...;
       dive_val(\%hash, @path) = $new_val;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-24 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found