I assume you already rebooted to have the new Perl Environment variables loaded into Windows.

I suspect that: Your perl524.exe should need perl524.dll, which means you have an extra ancient Perl 5.8 perl.exe hidden somewhere (without it's perl58.dll in that same directory). This ancient perl's PATH is BEFORE the new installation (which has appended itself to the end of the PATH)

What I want you to do is drop to the CMD, and from there call perl -v. What happens? call perl524 -v. What happens?

I have 5.24 StrawberryPerl on my windows. The minimal perl installation is perl.exe (an identical copy of perl524.exe) and perl524.dll (or at least, was a few years ago) and does not require modules (*.pm and others) note that Strawberry perl also needs 3 gcc related dlls, but I do not have an AS-Perl around now, so that might also be required for AS-Perl.

So we drop to the CMD and run: where perl.exe

This will give you a path where perl.exe is located. If not, then your Perl is not in your PATH and you need to set it first. (then try again)

Great. Now create an empty directory and go into it:

md TEST cd TEST

Now empty the PATH variable by doing a set PATH=. You can now run "perl" and it will not find that executable. and copy the perl.exe over: copy C:\SOMEPATH\perl.exe

now run perl again: perl.exe

it will tell you it needs a DLL, it should be in the same directory as the perl.exe was. Copy them over (lazy, in one go) copy C:\SOMEPATH\*.dll C:

now try again. Does it come up with version information or pupup/crashes? If you get version information, the binaries are not corrupt (for example: could be a virus that slowly encrypts things, although those virus leave DLL's alone and hunt for office documents and images).

Once you give us more information, we will know what's the problem.


In reply to Re: Perl Interpreter has stopped working on windows 7-32bit after installation by FreeBeerReekingMonk
in thread Perl Interpreter has stopped working on windows 7-32bit after installation by DisneyKing

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.