Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by LanX (Bishop)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-12-15 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (445 votes). Check out past polls.

    Notices?