Hmm .. I'm currently on Win98 and have ActiveState installed and running fine. However, except for a few Rebuild This Web Site scripts, I run everything from the command line (actually, a 4DOS prompt, but a regular command line would work fine too).

Open up a command line session and type path and see what you get. I get

PATH=C:\PERL\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\4DOS402;C:\PROGRAM F +ILES\MTS
from my 4DOS session (and I get the same thing in my MD-DOS prompt -- I just checked). What do you get? (Hint: You should have C:\PERL\BIN somewhere in the path -- if not, that's the problem you should be solving.)

With \PERL\BIN in your path you should be able to run your scripts from a command line. In fact, you should be able to run perl -v to find out your version level of Perl. (I get 5.6.0, build 616 from ActiveState, so I guess I'm up to date.)

When I do run scripts from my desktop I enclose them in a BAT file that contains one line:

c:\perl\bin\perl -w txtproc.pl
I include the path so I don't have to worry about how the PATH is set. It's not the coolest solution -- running the Perl script would be cooler -- I probably ran into the same problem that you did and decided (after five minutes of fiddling) to work around it instead of solving the problem. TMTOWTDI.

--t. alex

"Excellent. Release the hounds." -- Monty Burns.


In reply to Re: Perl On Win 98 by talexb
in thread Perl On Win 98 by Anonymous Monk

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.