Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I want to install perl in my PC which is having Window platform. Can any one suggest me fro which site i can download it and how big will be the program Sucheta\please reply to tsucheta@hotmail.com

Replies are listed 'Best First'.
Re: Installing PERL in my PC
by damian1301 (Curate) on Feb 22, 2001 at 10:03 UTC
    Well you can go to http://activestate.com which has the ActivePerl program on there. You may need to download the windows installer to update your computer so ActivePerl may install.

    Then you just plain install as you would anything else but make sure that you can access ActivePerl through MS-DOS by 'Associating Perl with path' or something of the like in the installation options. After which you can run programs through MS-DOS prompt by simply typing perl. As an alternative, you could install an editor to run it through perl.exe for you. All though <STDIN> will not work through an editor.

    Assuming that you are new to Perl, make sure you have all of the Perl documentation installed as well, it will be your best friend later on. It is like a giant reference or a Perl book for free.

    Almost a Perl hacker.
    Dave AKA damian

    I encourage you to email me
(tye)Re: Installing PERL in my PC
by tye (Sage) on Feb 22, 2001 at 10:42 UTC

    I personally prefer http://www.indigostar.com/'s distribution of Perl for Windows. For one thing, the install doesn't require a reboot and is much easier to automate.

    Just be aware that when you are running any of the Apache thingies (like the "Perl Console"), you have opened up an unsecured web server on your machine that has the "default examples" installed which are usually a source of security problems. It took me about 10 minutes to find the configuration files involved and lock out all external access to the web server. I'm disappointed that IndigoStar hadn't already done that for me. But so far that is my only complaint.

            - tye (but my friends call me "Tye")
Re: Installing PERL in my PC
by unixwzrd (Beadle) on Feb 22, 2001 at 13:06 UTC
    I would suggest getting a copy of CYGWIN. It runs great and emulates a *nix environment quite well. While you're at it, get a copy of Vim along with GVim. As far as Perl, along with most other OpenSource packages such as Berkeley DB and more, will compile under CIGWIN just fine with GCC. The version of GCC which comes with it will also bootstrap a new version of itself. I was running this quite well developing Perl programs and such until I put a copy of Linux and installed VMWare along with Oracle for Linux to do things the other way around. Works much better now and duplicates the work environment a bit better. My laptop has more power than most desktops, but I digress...

    Mike
    "The two most common elements in the universe are hydrogen... and stupidity."
    Harlan Ellison

      Although I like cygwin and also suggest that you grab it, it isn't always the best way to get Perl for Windows. It has the distinct advantage of running many Perl scripts that a native Win32 port of Perl will not [since native Win32 doesn't support alarm() nor fork() and the fork() emulation in Win32 Perl 5.6 is still pretty bad]. It has the distinct disadvantage of not allowing you to do Win32ish things (like access the Windows Registry or any other Win32-specific feature). It also will take a much longer time to download than an only-Perl install would (of course). It will also probably occasionally cause various minor problems if you try to use it from a cmd.exe prompt instead from a bash prompt.

      So if you plan to always use bash and don't care about using Perl for Win32-specific tasks, then cygwin's Perl is probably your best choice. Otherwise you probably want a native Win32 port of Perl, or both.

              - tye (but my friends call me "Tye")
Re: Installing PERL in my PC
by DarkGoth (Acolyte) on Feb 22, 2001 at 13:27 UTC

    Hi

          I advice you to go on one of the mirrored FTP server where you can find
    CPAN (Comprehensive Perl Archive Network) modules.

        For instance : ftp://ftp.lip6.fr/pub/perl/CPAN/ports/

    In this dir, you have choice between many platforms where PERL have been implemented like win9x, dos, mac even Plan9 ...

    I hope you good luck in your quest ...

Re: Installing PERL in my PC
by Jamnet (Scribe) on Feb 22, 2001 at 13:48 UTC
    Hi You can download Perl for Windows from http://www.activestate.com and the size of the installable will be approx 7+ MB. If you need more help please mail to jamnet@dacafe.com Before deploying my perl programs I always run them on my w2k box. Regards Jamnet