So I've managed to prototype a little Perl CGI script that retrieves data from MySQL and displays it. Then I started playing with a web-author tool to learn something about CSS and I ended up with a rather elaborate set of pages with all manner of top menu bars, side menu bars and bottom menu bars. Now I would like to embed my Perl CGI script in one of the web pages generated by the tool.
I found a few sites that discuss use of CSS in a Perl CGI script and it seems that I need to take a HTML page (generated from the tool) and convert all the HTML in it to Perl CGI. For example, I think all the div tags have to be rewritten as something like
$q->p(-class=>"div"); (not sure of the exact syntax here ... $q is my CGI object)
Am I way off track here? Any suggestions, book or website recommendations would be appreciated.
|