ryddler has asked for the wisdom of the Perl Monks concerning the following question:

I'm using PerlScript in ASP, and wanted to let CGI.pm take care of grabbing the querystring and form variables.

So far no joy, because it seems IIS is grabbing everything before CGI.pm can get to it.

I then tried using Win32::ASP, but merely adding "use Win32::ASP;" to the page results in the obscure (at least to me) error below:

Can't call method "BinaryRead" on unblessed reference at C:/Perl/site/lib/Win32/ASP.pm line 29. Compilation failed in require at (eval 2) line 5. BEGIN failed--compilation aborted (in cleanup) Can't call method "BinaryRead" on unblessed reference at C:/Perl/site/lib/Win32/ASP.pm line 29. Compilation failed in require at (eval 2) line 5. BEGIN failed--compilation aborted

Has anyone else encountered problems with either of these modules? Is there a workaround?

ryddler

Replies are listed 'Best First'.
Re: ASP with CGI.pm or Win32::ASP?
by runrig (Abbot) on Jan 15, 2001 at 23:41 UTC
    See this on how the current version of Win32::ASP is broken and what older version or alternatives you need.

    Also, you may want to join the activestate mailing list.