Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 about the Monastery: (10)
As of 2015-01-26 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (197 votes), past polls