Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
It's probably just the case that you did not reboot. ActivePerl may have added the proper line to your AUTOEXEC.BAT file, but DOS windows will not get any of it's benefits until you reboot. You can also see if it is there by looking at the fie yourself. Go to Start->Run and enter WORDPAD C:\AUTOEXEC.BAT. Look for a line that starts with PATH and see if the word PERL is in there. It should be something like C:\PERL\BIN. If it *is* in there, you are all set, just reboot. If not, you will have to add it yourself. Find the directory that ActivePerl was installed into, and then make sure that it has a "BIN" directory under that. This is the directory that actually stores the PERL.EXE file, which is what your DOS windows could not find. (You can also do a "Find" for PERL.EXE to determine the correct directory)

(Side note: you can type the full path to PERL.EXE or set a temporary path at the command line with PATH=%PATH%;C:\PERL\BIN if you do not wish to reboot yet.) At any rate, the paths (places to look for executable files) are separated by semicolons, so just add the path to perl at the end of the final PATH statement in your AUTOEXEC.BAT. In other words, if your AUTOEXEC.BAT looks ike this:

just change the last line to read:
(or wherever ActivePerl has installed Perl. If you still can't find it, just do a Find on "PERL.EXE")

In reply to Re: ActivePerl by turnstep
in thread ActivePerl by indapa

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (10)
    As of 2020-01-27 21:00 GMT
    Find Nodes?
      Voting Booth?