Keep It Simple, Stupid | |
PerlMonks |
Re: Simple Table structure to fileby wfsp (Abbot) |
on Jan 23, 2007 at 09:24 UTC ( [id://596055]=note: print w/replies, xml ) | Need Help?? |
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 See if that helps and get back to us if you're still stuck. Update: Fixed typo. Thanks to davorg for spotting it.
In Section
Seekers of Perl Wisdom
|
|