Hey folks, Although I'm getting pretty good at using newsgroups and assorted perl references(including this one!)to find answers to my questions, I can't seem to solve this one. This is what I've got: I have a list of inspection stations in a data file which is comma-separated. It contains the following data, in order: Station Name, Address 1, Address Line 2, City, State, Zip, Phone Number
I have no problem reading each of the lines and assigning variables from the output of the split(/,/, $line); This is what I need to do: I believe I need a hash of hashes of arrays... I am creating output in the format of inspection pages which list all inspection stations in each town (some towns have only one, others have several). I need to group the lines (of address information) by city and get a count of the number of stations in a given city. The best Perl reference of this I could find was in the Perl Cookbook, but it was very poorly explained. Thanks in advance! Glenn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]