in reply to Hashes of arrays populated from a Text File
Quite frankly, what I would do is to grab a copy of SQLite ... a public-domain SQL system that doesn’t use any kind of server ... and import all these files into a database, then use SQL queries to JOIN among the various tables to get the answers that you want. You don’t have to write-a-program to import the data.
Also, if this happens to be a one-off task, consider the ubiquitous spreadsheet ... which will also certainly have the capability to obtain data from a database file and even to perform queries against it. (Or do vlookup() and so-on.)
I’m just suggesting ... look at the target and all of the potential ways of hitting that target. Sure, “writing a Perl program” is one way to do it. Perl can do it effortlessly and other posts on this thread will show you exactly how. But if what you have is a bunch of CSV files, and what you want to get is a result that can be described as joining data between them, then in all likelihood you do not need to “write a program” to do that.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hashes of arrays populated from a Text File
by Laurent_R (Canon) on Feb 26, 2014 at 19:05 UTC | |
|
Re^2: Hashes of arrays populated from a Text File
by Raya4505 (Novice) on Feb 26, 2014 at 15:46 UTC | |
by karlgoethebier (Abbot) on Feb 26, 2014 at 17:04 UTC | |
|
Re^2: Hashes of arrays populated from a Text File
by SimonPratt (Friar) on Feb 27, 2014 at 15:59 UTC |