I've tried to learn perl, but I'm having a very tough time. I need a piece of code desperately soon and I have no idea where to start. Could someone help me out. I just need to take a text file and convert it into an .html file. The data in the file looks like this:
name 'Telecaster1' number '101' start_pos '7' finish_pos '1' laps_run '160' laps_led '72'
qual_time '22.778' qual_speed '118.535' avg_time '34.188' avg_speed '78.975'
best_time '22.164' best_speed '121.819' incidents '0' reason_out '0'
name 'K_Hansen' number '112' start_pos '2' finish_pos '2' laps_run '160' laps_led '88'
qual_time '22.625' qual_speed '119.337' avg_time '34.193' avg_speed '78.963'
best_time '22.162' best_speed '121.830' incidents '0' reason_out '0'
name 'Irace_#22' number '109' start_pos '6' finish_pos '3' laps_run '160' laps_led '0'
qual_time '22.763' qual_speed '118.613' avg_time '34.212' avg_speed '78.919'
best_time '22.194' best_speed '121.654' incidents '0' reason_out '0'
Note: there should be a total of three lines in the file format above, I split
them up to make the entire page more readable, vroom
What I need is for an html table with the "name" field along the left side, and then the other fields across the top. The data for each field is inside the '' marks. Is this possible to do? If so could someone through it together real fast for me. I'm running perl on win98 machine. Thanks.