Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: sorting CSV files

by Anonymous Monk
on Apr 28, 2008 at 07:19 UTC ( [id://683249]=note: print w/replies, xml ) Need Help??


in reply to Re: sorting CSV files
in thread sorting CSV files

Hi, Thanks for wonderful one liner file sorting. Can you please explain this in detail that how it works ?

Replies are listed 'Best First'.
Re^3: sorting CSV files
by crashtest (Curate) on May 01, 2008 at 18:16 UTC

    I can, but I won't. The OP looked like a homework assignment. My goal was to post a working solution that was as cryptic, compressed, unreadable and definitely un-turn-in-able as possible.

    If you are genuinely interested, I would recommend reading:

    • perlrun for an explanation of -a -F, and -n.
    • perlmod to understand what BEGIN and END blocks do.
    • perlfunc for an explanation of the sort function.

      Thanks. :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-03-28 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found