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
| [reply] |
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'
| [reply] [d/l] [select] |
You can run perl in some browsers. Old, nasty browsers.
Activestate released PerlScript for IE many many years ago.
| [reply] |