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

Re^2: Perl Sort date and time inside csv file

by AnomalousMonk (Archbishop)
on Feb 11, 2016 at 17:43 UTC ( [id://1154995]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Sort date and time inside csv file
in thread Perl Sort date and time inside csv file

print sort grep $_ => <DATA>;

I don't get the purpose of the grep on  $_ in the quoted statement. Is it intended to remove the blank  __DATA__ lines? It doesn't, and it seems to me that those lines in the OP were just an artifact of failure to use  <code> tags in the first place. Can you please explain further?


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

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

    No recent polls found