Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How can I populate attributes of a hash into another ?

by LanX (Chancellor)
on Jul 19, 2013 at 10:40 UTC ( #1045328=note: print w/ replies, xml ) Need Help??


in reply to How can I populate attributes of a hash into another ?

Answering the question as expressed ("through reference"):

The only possibility to make %chapter act as a proxy for %book is using hash ties.

I won't go into details since this is certainly a XY problem!

Most probably you just need to copy

%chapter=(%chapter,%book)

Cheers Rolf

( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-06-30 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (389 votes). Check out past polls.