http://www.perlmonks.org?node_id=63926


in reply to Re: Re: How do you store a line of info from a file that you later need to sort?
in thread How do you store a line of info from a file that you later need to sort?

Might wanna use a <code> tag to enclose your code to make it easier to read.

It sounds to me like you should probably be using a database module to store and sort your information, and then using SQL to perform the sorts and output the data the way you'd like.

DBI and DBD are perfect for these situations, and if you want to be able to open up the file and look at what the code is doing with your info, I'd suggest starting with DBD::CSV and working up from there. Cheers!