Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  
Server Error (Error ID 1142486b87193)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Server Error (Error ID 2642374b87193)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Need Help??


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

No way. If you add a reference to the %book hash,  print $chapter{name} will still not print what you want. Why do you want to add a book under chapter anyway? Are you sure your data model is good?


I'm too lazy to be proud of being impatient.

Server Error (Error ID 5976226b87193)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Server Error (Error ID 7956614b87193)

An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

Replies are listed 'Best First'.
    Maybe there is a way. You could create a tied hash which looks up key/values somewhere else if they are not present.

    However that's something I definitely do not recommend at all. This way lies loss of sanity and lots of hairpulling.

    Yes. I am sure about the data model.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045269]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-12-14 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (410 votes). Check out past polls.

    Notices?