In an effort to increase my perl knowledge (almost non-existant) and work on a project, I need help with getting statistics from an e-mail log file. I would like to output a file with an entry for each unique sender and the number of times that sender appears in the log file.
I know enough to open / close the file and to match the field I'm looking for in the file (it's a comma-delim file). What I don't know is what type of data structure to use for the data.
BTW, the file has 266k lines.
Thanks in advance!
maurie
I know enough to open / close the file and to match the field I'm looking for in the file (it's a comma-delim file). What I don't know is what type of data structure to use for the data.
BTW, the file has 266k lines.
Thanks in advance!
maurie