in reply to Sorting issues
use Data::Table; my $t= Data::Table::fromCSV("data.csv"); $t->sort('exp', 0, 1); #Sort table by col 'exp', numeric, descending print $t->csv;
name,exp,level
merlyn,14272,10
tilly,13067,10
dkubb,1076,7
LD2,807,6
toma,17,1
I don't plan on spending any more
time debugging CSV-type parsers, and I have an easy migration
path for upgrading to using a relational database.
It should work perfectly the first time! - toma
|
|---|