Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: sort after split

by Roy Johnson (Monsignor)
on Dec 05, 2007 at 20:41 UTC ( [id://655217]=note: print w/replies, xml ) Need Help??


in reply to sort after split

What does your data look like? Give a few sample lines of input, and what you would want the output to be from that.

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: sort after split
by lakeTrout (Scribe) on Dec 05, 2007 at 23:58 UTC
    Hi Roy,

    Thanks for the help. The params 0/1 ask for a company name and country. For privacy sake, I'll just give the first letter. Here is an example of what I get now:
    J... ( Korea ) L... ( Korea ) A... ( France ) G... ( USA ) I... ( France ) M... ( Brazil )

    This is what I would like:
    A... ( France ) G... ( USA ) I... ( France ) J... ( Korea ) L... ( Korea ) M... ( Brazil )

    Does this help? Thanks!
      I'm pretty sure that ysth's response is what you're looking for.

      Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found