Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: how can i execute javascript in perl

by dorward (Curate)
on May 08, 2009 at 21:48 UTC ( #762955=note: print w/replies, xml ) Need Help??


in reply to how can i execute javascript in perl

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>.

  • Comment on Re: how can i execute javascript in perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://762955]
help
Chatterbox?
[LanX]: met a guy from Aberdeen durin holidays, liked Scotsish accent a lot ... very phonetic
[LanX]: ... understood everything after mentally write down what he said.
[choroba]: Trainspotting?
[choroba]: Ouch, trailing commas in JSON :-(
[LanX]: ... though there seems to exist a taxation for the letter 't' in Northern Bri''ain ;-)
[LanX]: never seen trainspotting in OV ... :(
[karlgoethebier]: LanX

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-02-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?