Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks for the response. The information flow seems off from my needs based upon how I'm looking at your code, but somehow it shook loose the idea of performing the localization on the full hash, and not trying to compound it with setting keys. That gave me this:
I feel like there may be a reasonable way to roll optional assignment in there simultaneously, but cleanly and across data types is escaping me. I've never been a big user of tie, so thank you for giving something to chew on. I can vaguely see how a full understanding of how to implement this in tie combined with guards would result in a really swanky solution, but my brain is too stupid today to implement that one. #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way. In reply to Re^2: Localizing hash keys in an AoH, continued
by kennethk
|
|