Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2018-06-22 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (120 votes). Check out past polls.

    Notices?