Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Copy an hash modifying some selected values

by hippo (Canon)
on Nov 08, 2018 at 10:23 UTC ( #1225402=note: print w/replies, xml ) Need Help??


in reply to Re^2: Copy an hash modifying some selected values
in thread Copy an hash modifying some selected values

Quite so. I assumed the copy was not the part you were having problems with. See eg merlyn's deep_copy sub as a module-less way to do that or something like Clone::PP. %hash1 is assumed to be the copy. HTH.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2019-02-21 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (109 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!