in reply to AoHoAoH... am I delusional?
Perl has several modules under the DBI / DBD namespace to interface with all sorts of databases. Looking at your previous posts, I still can't determine what problem you're trying to solve, but it seems like highly structured data is part of it and that - to me - means a database. Perl is more than capable of scripting information to and from your choice of database.
Pick a database - mysql for Linux, MS Access on Windows, whatever; create the schema, put your data in and let Perl pull it out (or populate) with SQL statements.