Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: i need to join two fields in .csv file??

by Ratazong (Prior)
on Mar 14, 2013 at 07:49 UTC ( #1023411=note: print w/ replies, xml ) Need Help??

in reply to i need to join two fields in .csv file??


How would you do it manually? You would probably

  • read the file (into a list in "memory")
  • sort that list by lenght of the entries and alphabetically
  • write down the sorted list
So you have just to do that in perl. You might think of arrays, open, sort and print.

HTH, Rata

Comment on Re: i need to join two fields in .csv file??

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2016-02-11 09:29 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (365 votes), past polls