Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 (Abbot) 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 contemplating the Monastery: (4)
As of 2015-07-06 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls