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.

In reply to Code request by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.