Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: one hash value (array) into another

by jbware (Chaplain)
on Jan 06, 2004 at 18:25 UTC ( #319191=note: print w/replies, xml ) Need Help??


in reply to one hash value (array) into another

Here is one way to do it:
map (push (@{$hash{'two'}}, $_), @{$hash{'one'}});

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2021-08-05 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (44 votes). Check out past polls.

    Notices?