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

Hi,

I used to run perl on windows 7 fine.

However, after I installed Strawberry perl on windows 7, I got only my whole perl script which is displayed on browser of my laptop.

I should get the output for result of running perl script on my laptop monitor as it was ok on active perl.

My shebang is:

#!c:\Strawberry\bin\perl.exe

Please help

Mr Can Le

Replies are listed 'Best First'.
Re: How to run Strawberry Perl ?
by marto (Cardinal) on Apr 17, 2016 at 06:08 UTC
Re: How to run Strawberry Perl ?
by stevieb (Canon) on Apr 17, 2016 at 01:12 UTC

    How is IIS set up to handle your files? How do you have extension handlers set?

    In other words, what else have you changed? Typically, you'll see loud errors in your web server log files for what went wrong. Can you post those?

Re: How to run Strawberry Perl ?
by Laurent_R (Canon) on Apr 17, 2016 at 07:54 UTC
    What happens when you run the following command:
    perl -v
    at the cmd prompt?

    And what do you do exactly to run the program?

Re: How to run Strawberry Perl ?
by lecandotnet (Initiate) on Apr 17, 2016 at 02:55 UTC

    I got it with:

    c:\Strawberry> perl myfilename.pl

    Thank You

    lecandotnet