Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: [CLOSED] Dereference hash into hashes by key

by Anonymous Monk
on May 22, 2018 at 22:27 UTC ( #1215072=note: print w/replies, xml ) Need Help??


in reply to [CLOSED] Dereference hash into hashes by key

And, gosh, if a tiny little few-line subroutine named replace_key() (hint, hint ...) makes your actual intention perfectly clear for everyone who will follow in your footsteps . . . what's a few extra source-lines between friends? In that tiny-subroutine you can delete the old key and insert a new one ... and do anything and everything else you like ... and your source-code now consists of only one line! (Woo, hoo!)
  • Comment on Re: [CLOSED] Dereference hash into hashes by key

Replies are listed 'Best First'.
Re^2: [CLOSED] Dereference hash into hashes by key
by Your Mother (Bishop) on May 23, 2018 at 05:17 UTC

    So, gosh, give your advice life. Show how the code would work. Write the sub and document the way it's called.

Re^2: [CLOSED] Dereference hash into hashes by key
by LanX (Archbishop) on May 22, 2018 at 23:43 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2019-07-19 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?