Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
First, go to ActiveState's ActivePerl Site, http://www.activeperl.com. From here you can either click on the "Perl" link in the top banner, or hover your mouse pointer over "Languages" in the red bar and then click on "ActivePerl Family" in the dropbox that appears. On the next page, click on "ActivePerl" under "ActivePerl Family". (You're getting close. Don't give up yet!) At the bottom of the page, click "DOWNLOAD", then either fill in the blanks on the next page or not and click "Next". (ActiveState doesn't require contact info.)

This page gives you several options. The first thing you should do is check out the "minimum requirements" link in the middle column. (The three columns being the download list, an info column, and then the "Register... Download" column. If you're running Windows XP, you're set and don't really need to worry about this. The left column should say "ActivePerl" and then a version number. Choose the most recent version and download the MSI package under the Windows heading.

BEFORE CONTINUING: Make sure you have Administrator privileges on your computer. If you don't, you'll have more work to do after installing.

Simply run the MSI (an executable) and follow the installation guidelines. If, for one reason or another, you cannot install from the MSI, go back to ActivePerl's web space and download the AS package (a .zip file). The ActivePerl site explicitly states, "The Windows AS Package provides NO uninstall functionality, and is recommended only if you are unable to install ActivePerl using the MSI installer." (What this basically means is that you'll have to manually uninstall it if you ever want to get rid of it.)

You can now write Perl programs in any text editor (like Notepad, but turn wordwrap off) and run them through the Command Prompt using the "perl" command, just like all the other OSes. (Command Prompt is in Start > All Programs > Accessories OR Start > Programs > Accessories for non-XP systems.)

This should work for any version of Windows. Please be sure to check the system requirements listed on ActiveState's download page to be sure your machine/OS can handle it.

Good luck!

ADDENDUM
ActivePerl is not the only Perl for Windows out there, it is simply the first that I came accross. As noted by Joost, there is also CygWin at http://www.cygwin.com (directions listed in his reply below). CygWin is basically, for all intents and puposes, a Linix shell emulator for PC. See their site for more details.

I also want to mention a very helpful tool for me when writing is the VI Improved (VIM) text editor, available at http://www.vim.org/. It's free and has many features to help you with coding, including (but not limited to) auto-indenting, color highlighting, and multiple computer language support. VIM is what I learned on in school, used when I had Linux, and is a great tool even on a Windows based machine.

Last update 2004.07.31.0150


In reply to Installing Perl on a Windows PC by giricredwolf

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (8)
    As of 2014-09-03 03:41 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite cookbook is:










      Results (35 votes), past polls