in reply to Verifying Javascript is enabled

Basically, no. A Perl script running on the webserver can't query the browser to see whether or not Javascripting is enabled.

Perhaps the HTML <NOSCRIPT> tag might serve your needs? It contains content that should be displayed by browsers which do not permit Javascript. See the documentation for info on how to make the CGI module set a NOSCRIPT block.

If you really want to know on the server side whether or not the browser client supports Javascript, you could try using cookies. On every HTML page, have a Javascript which checks for a 'i_can_script' cookie; if it's not set, try to set it. If it does set correctly, refresh the page. On the server side, you can then look for this cookie whenever you're spitting out a page; if it's there, the browser definitely does allow Javascript; if it doesn't, then the browser doesn't support Javascript, or doesn't permit Javascript, or didn't accept your cookie.

a