in reply to Data Structures and Sorting
In this script, I have to do this using data structures because the its essentially going to be a small flat file and using a database is not efficient here - (or I would have loverd to use SQL on this one :-( ).
I realize that there's a lot of value in learning how to use some more advanced constructs (AoA, AoH, HoH...), but if you still want to use SQL without the database, check out DBD::CSV. Here you can use the DBI just as if you were connected to a more sophisticated DBMS, but your tables will be simply comma-delimited text files.
|
|---|