James Willmore said:
Sorry, but I believe the OP is mistaken. It appears, to me, to be
ASP. ASP is very similar to Visual Basic and it appears from the code
VBScript can be used within ASP, but many languages can be used in
ASP,
including perl (well on IIS you would need to use PerlScript from
ActiveState,
which allows perl to be used from WSH).
published that it's ASP (because of the syntax used).
But, of course, I could be wrong
In any event, It don't look, talk, etc. like Perl code
Interestingly enough, if you check the URL the user posted for the
script
you will see errors with references to Apache::ASP, which from what I
know only
supports perl as its scripting language.
I imagine the user tried to put an ASP page using VBScript as the
scripting
language on Apache::ASP. Perhaps the user read that perl was used for
Apache::ASP and came here.
Anyway, you have to convert all the stuff between <% and %> to perl
(from whatever language you used VB, JScript, Python, Perl, etc....
The objects such as Request and Session should be the same. Instead
of
Request.method() it would be Request->method(). Check the Apache::ASP
website.