Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Merge hash keys

by dcmertens (Beadle)
on Jan 16, 2014 at 01:51 UTC ( #1070746=note: print w/ replies, xml ) Need Help??


in reply to Re: Merge hash keys
in thread Merge hash keys

Wait... what? hdb's answer was exactly what you needed? Don't get me wrong, it's clever and there's a good chance it's fast, but anybody reading your code will have no idea what the hell is going on. I have to agree with some of the other posters that some kind of sort with substring is the right way to go here. Even if it's slower, at least it properly conveys your intent.


Comment on Re^2: Merge hash keys

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-10-01 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (32 votes), past polls