in reply to Re^2: merge two hashes into one
in thread merge two hashes into one
So when you "tested" this ... you saw the "keys on reference is experimental" warning .... Otherwise your code didn't compile at all ...
I don't know what Perl version sundialsvc4 was using, but I tested the code under Perl 5.14 and it works as advertised.
I and many others have long had a problem with sundialsvc4: he so often just doesn't seem to know what the hell he's talking about. Even when I occasionally encounter a post of his that seems, at first glance, to make a valid point, I have gotten into the habit of simply passing on by: I've been bitten too often by bugs and gotchas that only become apparent on closer inspection or through the replies of others to risk upvoting.
Lately, I've seen a couple of his posts that are so clear, straighforward and helpful that I've upvoted them; this is one. Of course, a note about the "highly experimental" nature of keys EXPR would have been nice and there's still a bit of bloviation, but you can't have everything. There's code, compilable, runnable code that works as described, and a few valid points! sundialsvc4 takes up so much bandwidth on this site that it's a shame his contributions haven't been correspondingly worthwhile. Is a new day dawning? I hope so, and I think any effort in that direction is worth encouraging.
Give a man a fish: <%-{-{-{-<
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: merge two hashes into one
by hippo (Archbishop) on May 30, 2018 at 08:16 UTC | |
Re^4: merge two hashes into one
by Laurent_R (Canon) on May 30, 2018 at 06:47 UTC | |
Re^4: merge two hashes into one
by Anonymous Monk on May 30, 2018 at 07:36 UTC |