in reply to Simple Table structure to file

Hi ultibuzz!

It would be nice to see what you tried but here's my take on it.

I reckon you would need two passes. The first to build the table and the second to sort it.

The first pass could be to use a while loop over the data, chomp each line, split on ; and populate your table. The important line might look something like

push @{$table{$key}}, $value;
See if that helps and get back to us if you're still stuck.

Update: Fixed typo. Thanks to davorg for spotting it.