dtharby,
If you are trying to create simple html (perhaps with dynamic content) using Perl I would suggest talking a look at
HTML::Template.
Ovid has written a
tutorial Using HTML::Template which is also worth a look.
Ovid also has
Web Programming Using Perl which I can not recommend enough.
Hope this helps.
Martin