Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: ASP.NET and PerlScript

by Theseus (Pilgrim)
on Jul 12, 2002 at 19:33 UTC ( #181380=note: print w/replies, xml ) Need Help??

in reply to ASP.NET and PerlScript

This is perl, v5.6.1 built for MSWin32-x86-multi-thread... Binary build 631 provided by ActiveState...
I did download Perlscript from Activestate's site and Perlscript itself is working in aspx files on my server, I can do just about anything besides access the intrinsic ASP objects or load Win32::ASP(because it uses ASP's objects, and so it won't run since $Response keeps coming back undefined).

I'll take a look at PerlNET, but I was under the impression I had installed all the utilities I needed to run Perlscript under ASP.NET. Unfortunately, I'm not interested in the Perl Dev Kit or any other of Activestate's retail software(I doubt my employer will pay for it), I only need whatever is out there and freely downloadable that will make what I need to do possible.

To illustrate my problem, perhaps I should show you two different snippets of code, one that works, and one that doesn't.

This code works:
<%@ Page Language=Perlscript Debug="True" %> <html> <head> </head> <body> <% for $i (1 .. 10) { %> <%= $i %><BR> <% } %> </body> </html>

This code doesn't:
<%@ Page Language=Perlscript Debug="True" %> <html> <head> </head> <body> <% for $i (1 .. 10) { $Response->Write("$i<BR>"); } %> </body> </html>

Both of those pages should print the exact same thing, and the second one doesn't work because $Response doesn't seem to ever be initialized as an object. I did some poking around some symbol tables, and I found $Win32::ASP::Response, but that is also undefined. Help!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://181380]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-08-15 18:13 GMT
Find Nodes?
    Voting Booth?

    No recent polls found