PerlScript (not "Perl Script")

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  

Ever used the <SCRIPT language=PerlScript> functionality?
Yes, I use it often
0%
 0%  [ 0 ]
Yes, but only rarely
14%
 14%  [ 1 ]
No, I don't like it
0%
 0%  [ 0 ]
No, I never even heard of it until now
85%
 85%  [ 6 ]
Total Votes : 7

Author Message
beerslayer
-


Joined: 21 Jan 2004
Posts: 15
Location: Northern California, USA

PostPosted: Mon Feb 23, 2004 9:38 am    Post subject: PerlScript (not "Perl Script") Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Feb 23, 2004 3:29 pm    Post subject: Reply with quote

I found what your looking for !

I have no idea if AWS supports this but you can try to
learn more about this feature at the following website.

Check this for further details.
http://aspn.activestate.com/ASPN/docs/ActivePerl/Components/Windows/PerlScript.html#what_is_perlscript

Edit: Check The Documentation for PerlScript Examples
they work fine in the user manual , I still haven't found
out if they work with Abyss Web Server !
Back to top View user's profile Send private message Visit poster's website
beerslayer
-


Joined: 21 Jan 2004
Posts: 15
Location: Northern California, USA

PostPosted: Mon Feb 23, 2004 9:36 pm    Post subject: Reply with quote

TRUSTpunk wrote:
I have no idea if AWS supports this

That might be handy to know!

TRUSTpunk wrote:
but you can try to learn more about this feature at the following website.

Check this for further details.
http://aspn.activestate.com/ASPN/docs/ActivePerl/Components/Windows/PerlScript.html#what_is_perlscript

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Feb 24, 2004 12:03 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Feb 24, 2004 8:44 pm    Post subject: Re: PerlScript (not "Perl Script") Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group