in reply to perl code in html files...
If you want an HTML document to render with dynamic content that is interpreted client-side (in the browser), a better bet is to use Javascript.
Perl can be used to output dynamic content, but does so using the Common Gateway Interface (CGI). This is a server-side system. The server executes the script, and the script dynamically outputs HTML, to be rendered by the browser. The most common way of handling CGI with Perl is by using the CGI module.
You can use a templating system to make it a little easier to add a dynamic element to static documents. HTML::Template is a good starting point for that approach.
Dave
|
|---|