Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Copy an hash modifying some selected values

by ikegami (Pope)
on Nov 07, 2018 at 17:23 UTC ( #1225369=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Diver qw( Dive );
    
    ...
       my $val = Dive(\%hash, map \$_, @path);
       ...
    }
    
  2. or download this
    sub dive {
       my $r = shift;
    ...
       my $val = dive(\%hash, @path);
       ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2019-02-16 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (95 votes). Check out past polls.

    Notices?