function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GregoryGregory 

Simple Client-Side Perl Script in S-control

I'm trying to put a simple client-side Perl sript into an S-control.  I'm trying:
 
Code:
<html>
<body>
<script language="PerlScript">
$window->document->write("Hello Perl world!");
</script>
This is straight HTML.
</body>
</html>

 
The HTML text displays fine, but the Perl script doesn't seem to execute.  Is it possible to run client-side Perl in Salesforce?
 
Thanks,
Gregory
sfdcfoxsfdcfox
You can run any type of code the browser supports. That being said, your browser is probably not configured to run PerlScript, or not configured to run PerlScript on the "Internet Zone", or PerlScript is not correctly installed... or you haven't restarted your computer/browser, or some other obscure issue. Also note that since this is PerlScript and not JavaScript, you might be limited to placing code inside of the <head> tags only (not in the body). If that's the case, you'll need to flesh out your HTML code a bit more. I'm going to look into PerlScript tonight and see if I can't get it working.
 
~ sfdcfox ~