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

I have installed Strawberry Perl where my web application hosted. I have classic ASP web application where Perl Script is called through VB Script. When I navigate to that ASP page where Perl Script is consumed, it gives Http 500 error. On other hand when I install Active Perl, I can navigate to to my ASP page without any error. I am able to call Perl Script on ASP page. What setting do I need to do for Strawberry Perl?

Replies are listed 'Best First'.
Re: Execute perlscript on ASP
by karlgoethebier (Abbot) on Nov 29, 2017 at 16:41 UTC

    I guess you need to do something like described here for Active Perl for Strawberry. Probably the Active Perl installer does it for you? Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

      That link will help serve up perl cgi pages (The same way Linux does).

      What I think the OP is looking for is support for scripting like:

      <%@ Language=PerlScript %> <h1>Hello World Perlscript test</h1> <% print "Hello World from PerlScript"; %>
      I'm not sure if this is possible with Strawberry perl.
      Here is some info on the implementation with Activestate:
      https://community.activestate.com/node/8908

                      All power corrupts, but we need electricity.

        What NetWallah is saying is correct. Is there any work around for Strawberry Perl. Active Perl involves licensing cost and that is why I wanted to make it work with Strawberry Perl.

        Ouch, yes. PerlScript != perl script. Thanks and best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

        perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help