Your original question was how to install perl on Windows 2000. The most common
problem that I see with Windows users and installing is figuring out how to install.
Many of the resources out there on the Internet are Unix/Linux-centric and go on about
compiling the source, and Windows does not come with a built-in C compiler.
Activestate puts their install in a MSI file so that users can install it the way they
install any other program, like putting it into an RPM file for Red Hat. One of the
things the install does for you is to set up the file associations for .pl files so
that you don't have to type "perl perlscript.pl" when you run a script. There is
always the offchance that there could be a problem creating the file association, but
then you run into the next great thing about ActivePerl. There are
ActivePerl-specific mailing lists and support mailboxes you can use to resolve your
issue.
The reason why it doesn't act like Unix has nothing to do with Perl. It isn't Unix.
It's Windows. But if you want to simulate your Unix development environment and have
access to Perl the same way you would on your other systems, try downloading Cygwin.
It's free, and the last time I checked it works very well. Otherwise you're free to
use the shebang line, but Perl will ignore it except to pick up the parameters like -w.
-----Original Message-----
From: lino_iozzo [mailto:[EMAIL PROTECTED]
Sent: Thu 5/6/2004 2:51 AM
To: Tim Johnson
Cc:
Subject: RE: how do you install perl on windows 2000
in my file i have #!/usr/local/bin/perl -w
so why do i need to type at the command prompt:
perl filename.pl?
what does this mean: with the file associations already set up in a convenient
MSI file.
yes you are correct it does work but not the same way it does at work on a
unix system.
The most frustrating part is that it is just not clear...it is very different
and I can't figure it out.
Please help further.
Thank you,
Lino