View previous topic :: View next topic |
Ever used the <SCRIPT language=PerlScript> functionality? |
Yes, I use it often |
|
0% |
[ 0 ] |
Yes, but only rarely |
|
14% |
[ 1 ] |
No, I don't like it |
|
0% |
[ 0 ] |
No, I never even heard of it until now |
|
85% |
[ 6 ] |
|
Total Votes : 7 |
|
Author |
Message |
beerslayer -
Joined: 21 Jan 2004 Posts: 17 Location: Northern California, USA
|
Posted: Mon Feb 23, 2004 9:38 am Post subject: PerlScript (not "Perl Script") |
|
|
I'm trying to embed the following code into a webpage:
Code: | <SCRIPT Language=PerlScript RUNAT=server>
for($i=0; $i<=10; $i++) {
$Response->Write("Value is: $i<BR>\n");
#
# Your Perl code here
#
}
</SCRIPT> |
In theory, this should invoke Perl for server-side processing in a way similar to PHP or ASP, yet it does nothing except echo the text of the code to the HTML page.
I don't know that the problem necessarily has anything to do with Abyss, but in case it does (or in case anyone else has seen this before and knows how to resolve it), I thought I'd post it here.
Standard Perl scripts (i.e. index.pl) work fine, so I know my Perl installation is configured properly.
Can anyone tell me what I might be doing wrong? |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
|
Back to top |
|
|
beerslayer -
Joined: 21 Jan 2004 Posts: 17 Location: Northern California, USA
|
Posted: Mon Feb 23, 2004 9:36 pm Post subject: |
|
|
TRUSTpunk wrote: | I have no idea if AWS supports this |
That might be handy to know!
Hmm. I looked through the ActiveState website and never found this page... thanks for the link!
Still doesn't work, though. I wonder if there's some configuration option I need to do in Abyss to make it work... _________________ "If fifty million people say a foolish thing, it is still a foolish thing." -- Anatole France |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Tue Feb 24, 2004 12:03 am Post subject: |
|
|
I have an update for you , I have searched google.com for a
answer to your problem and someone did get PerlScript to
work on the Abyss Web Server but sadly enough , the forum
owner wants to make some money off you so you can see the
answers on their forum , I also checked this forum and another
dude got PerlScript to work , I gave the dude a private message
and I should be getting a reply very soon. 8) |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Feb 24, 2004 8:44 pm Post subject: Re: PerlScript (not "Perl Script") |
|
|
beerslayer,
We suggest giving a try to the CGI version of Apache::ASP. It is a standard Perl module that can interpret PerlScript and supports ASP objects (Response etc...).
We haven't tested it on Abyss but it seems to rely on nothing Apache-specific. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|