Not really enough information to understand what happened... and your description does not compute (for /me anyway) unless you have a script named PPM.pl because otherwise Perl should complain "script not found."

If you're running Active State's Perl 5.nn and trying to find or install modules from a repository, you must run the ppm batch file from the command prompt (or maybe you can do so from the windows GUI?) BUT definitely not as if it were a Perl script.

As to a cure: find ppm.bat; rename it to something like ppm.bat.hold; and open a cmd window and see what happens. If all is well again at that point (and your computer does not belch blue flames) try renaming ppm.bat.hold back to its original form. Then open cmd again... to see if it's still behaving.

BTW, if para 2's "(i)f" clause is true, and para 3 doesn't work, you have problems that are unlikely to be resolved by removing and re-installing Perl (which, BTW to the preceding BTW, is written lower case or with an initial cap, depending on your meaning, but not all uc).



Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work" actually means.

In reply to Re: PPM Controls Command Window by ww
in thread PPM Controls Command Window by n6532l

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.