Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-18 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found