Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Custom Sort An AoA

by SuicideJunkie (Priest)
on Apr 01, 2014 at 17:31 UTC ( #1080607=note: print w/ replies, xml ) Need Help??


in reply to Re: Custom Sort An AoA
in thread Custom Sort An AoA

Sounds like that could fail on cases where there is a space in the data.

But as long as you can find a separator value that does not occur, you should be good.


Comment on Re^2: Custom Sort An AoA
Re^3: Custom Sort An AoA
by kennethk (Monsignor) on Apr 02, 2014 at 18:13 UTC
    True, but I think that most people would feel uncomfortable with join chr(1), ... See Re^3: Custom Sort An AoA for a more rigorous solution, the complexity of which makes my first suggestion feel very inviting.

    #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2014-10-21 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls