in reply to ASP.NET, Perlscript, for the love of god...

Have you tried just using the default perl methods? I have absolutely no experience using aps/perlscript/perl.net/whatever, but it just seems to me the logical approach to try would be just calling print or perhaps using CGI.pm methods, or using the $ENV variables.
  • Comment on Re: ASP.NET, Perlscript, for the love of god...

Replies are listed 'Best First'.
Re: Re: ASP.NET, Perlscript, for the love of god...
by Theseus (Pilgrim) on Jul 16, 2002 at 21:22 UTC
    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: