Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: writing perl in java script

by holli (Abbot)
on Mar 26, 2008 at 08:00 UTC ( [id://676324]=note: print w/replies, xml ) Need Help??


in reply to writing perl in java script

Your question is very unclear, but i think I'll just throw in my 2cents, in hope to get a random hit.

In order to run Perl from within a Browser, you can use the PerlScript Extension. However this will only work under Windows and when you install ActivePerl.

To embed Perl in Java, there is the javax.script - class which lets you embed script languages in your Javascript application and exposes the apps object model to the scripts it runs. The list of supported languages includes Perl.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: writing perl in java script
by pKai (Priest) on Mar 26, 2008 at 21:17 UTC
    javax.script
    Opening the ressource you provided, I see
    To see the full list of languages, and download the "script engines" - the interfaces fom Java to each of the languages - visit http://scripting.dev.java.net.

    Following that link I indeed see a table of lots of "script" languages supported.

    But no mention of Perl, other than acknowledgement of inspiration for some of the languages features, or the language as a whole.

    Did I miss the right turn somewhere?

Re^2: writing perl in java script
by Anonymous Monk on Mar 26, 2008 at 09:35 UTC
    Thanks for the reply. The link "javax.script" was really helpful.

    But I want to get some more info. about this.

    I have gone thru Java Cookbook but I could not find any help there (though by seeing the link I felt that I will get).

    Can u pls guide me where I can get more info about this

    Regards Kashratul

Re^2: writing perl in java script
by Anonymous Monk on Mar 26, 2008 at 09:49 UTC
    Thanks for the reply. The link "javax.script" was really helpful.

    But I want to get some more info. about this.

    Can u pls guide me where I can get more info about this

    Regards Kashratul

      Kashratul:

      Hey! You might want to check out this cool new site that excels at helping you answer questions like this. You might want to give it a try!

      ...roboticus
        thanks for that reply. Is that picture is of u. :)
Re^2: writing perl in java script
by Kashratul (Acolyte) on Mar 26, 2008 at 12:23 UTC
    Hi Holli,

    I went thru Javax.scritp.

    As per the doc given they still don't support perl, like they do for python or Ruby.

    https://scripting.dev.java.net/

    Any work around possible.

    thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://676324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-18 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found