Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: Argument for Perl ( again and again )

by blue_cowdawg (Monsignor)
on Oct 16, 2012 at 19:25 UTC ( #999406=note: print w/replies, xml ) Need Help??

in reply to Re^2: Argument for Perl ( again and again )
in thread Argument for Perl ( again and again )

      You could always write client-side scripts in a subset of Perl.

Write in Perl and translate to JavaScript? Pretty much amounts to the same thing. As far as I remember you can't run Perl in a browser unless they snuck that into the more recent HTML standards... :-)

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
  • Comment on Re^3: Argument for Perl ( again and again )

Replies are listed 'Best First'.
Re^4: Argument for Perl ( again and again )
by tobyink (Abbot) on Oct 16, 2012 at 20:33 UTC

    Perlito (linked in my previous message) is a Perl interpreter written in Javascript. Thus allowing you to run a subset of Perl within the browser.

    And the HTML standards certainly do allow Perl to be implemented by browsers. <script> has a type attribute which is used to indicate the scripting language. Browsers are free to support whatever scripting languages they like. There is indeed a plugin written by ActiveState providing Perl support for Internet Explorer.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
Re^4: Argument for Perl ( again and again )
by DrHyde (Prior) on Oct 17, 2012 at 11:29 UTC

    You can run perl in some browsers. Old, nasty browsers.

    Activestate released PerlScript for IE many many years ago.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999406]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-04-26 23:18 GMT
Find Nodes?
    Voting Booth?