Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by LanX (Canon)
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)


Comment on Re: How can I populate attributes of a hash into another ?
Download Code

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 wandering the Monastery: (6)
As of 2014-11-27 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (179 votes), past polls