If you want to run the JavaScript on the server then you could use something like JavaScript::SpiderMonkey.
If you want the Perl to just output an HTML document that includes some JavaScript for the browser to execute - then do that, it is just text wrapped with <script> and </script>.
In reply to Re: how can i execute javascript in perl
by dorward
in thread how can i execute javascript in perl
by navorinco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |