The stupid question is the question not asked | |
PerlMonks |
Re: Re: ASP.NET, Perlscript, for the love of god...by Theseus (Pilgrim) |
on Jul 16, 2002 at 21:22 UTC ( [id://182235]=note: print w/replies, xml ) | Need Help?? |
They don't work in ASP. print doesn't do anything in ASP, you can use it with Win32::ASP but that's basically a wrapper that overloads print to use $Response->write, which then gives me an error since there is no such object. Additionally, %ENV is not created as it would be in a CGI environment. None of the CGI/web related variables are there, only some of the ones you would see if you can the script from a console on a Win2k box. Additionally, posted variables are not fed to STDIN, so there's no way to read them. QUERY_STRING variables don't get put in %ENV, so there's no way for me to read them. Without ASP objects, I'm crippled.
The only documentation I can find uses either Win32::ASP(which I can't use because of the error). However, the <%= $var %> syntax does work, oddly enough. However, without the full fledged power of ASP's objects or perl's functions, I can't do much of anything worthwhile. Weird phenomenon demonstrated below:
This works:
This doesn't:
In Section
Seekers of Perl Wisdom
|
|