in reply to Displaying HTML with perl

Have a look at HTML::Template and an intro to it.

There is also sample code on this site which includes CSS and jquery!.

        "You're only given one little spark of madness. You mustn't lose it."         - Robin Williams