in reply to Re: Help Me!
in thread Help Me!

Thank you for that! It helped a lot! I got this code from Ben Okopnik "Learning Perl". What would be the best way to convert the output to HTML. It's suppose to look like this by the end of everything:

<HTML> <HEAD> <TITLE>Class Roster</TITLE> </HEAD> <BODY> <TABLE> <TR> <TD>ID: 123456</TD> <TD>Name: Suzie Smith</TD> <TD>Major: Computer Science</TD> <TD>Email: ssmith@uark.edu</TD> <TD>Parking Fees Owing: $22.00</TD> </TR> <TR> <TD>ID: 777777</TD> <TD>Name: John Brown</TD> <TD>Major: Computer Engineering</TD> <TD>Email: jbrown@uark.edu</TD> <TD>Parking Fees Owing: $0.00</TD> </TR> </TABLE> </BODY> </HTML>

Replies are listed 'Best First'.
Re^3: Help Me!
by GrandFather (Saint) on Apr 10, 2011 at 02:00 UTC

    I'd suggest first you play around with the code you have and understand it. Once you understand what you've got the rest is just fiddling with the details.

    There are modules in CPAN that help generate correct HTML, but for the present probably the simplest approach is best.

    Note that the indentation is not required for HTML, although it makes it easier for humans to validate.

    True laziness is hard work