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

Hi,
A win32 question.
Got activestate installed on NT. But I think it sucks.
At home I program in linux and it's easy integrated.
But on the other hand I've got no c-compiler on my NT at work and I'm looking for pre-compiled binaries of perl. Where can I find these??? I looked around but don't seem to find any recent versions...

Replies are listed 'Best First'.
Re: Win32 Perl
by SuperCruncher (Pilgrim) on Apr 26, 2000 at 21:32 UTC
    So, is your problem that it is not integrated as nicely as it is in Linux, since WinNT can't handle #!/usr/bin/perl?

    Look at the Windows-specific documentation supplied with ActivePerl, specifically the PerlWin32 page. There's a different command shell with NT (different to command.com) and it CAN be configured to run .pl files if you just type them in.

      You could try 'START camel.pl' but that unfortunately opens a new window (yuck). Also the window closes before you can read the output under Win98, but I only installed it last night. (You can thank Microsoft for that - had to download another two meg to run the install program; but how ActiveState get 40meg into a 8meg install file beats me!
      -- Dave
Re: Win32 Perl
by BBQ (Curate) on Apr 26, 2000 at 22:50 UTC
    If all you want is to install binary modules on your Win32 machine, you should use PPM (I think that's Perl Package Manager) that comes in the Activestate distribution. Its a pretty good stab at a perl -MCPAN -e shell; equivalent, in the sense that it searches, downloads, and installs.

    The major difference is that the modules are already in binary so it doesn't compile anything.

    Give it a shot... You should get:
    C:\ppm PPM interactive shell (1.1.1) - type 'help' for available commands. PPM> help Commands: exit - leave the program. genconfig - prints a valid PPM.XML file to STDOUT. help [command] - prints this screen, or help on 'command'. install PACKAGES - installs specified PACKAGES. quit - leave the program. query [options] - query information about installed packages. remove PACKAGES - removes the specified PACKAGES from the system +. search [options] - search information about available packages. set [options] - set/display current options. verify [options] - verifies current install is up to date. PPM>


    #!/home/bbq/bin/perl
    # Trust no1!
Re: Win32 Perl
by cciulla (Friar) on Apr 26, 2000 at 15:29 UTC
      I heard a while ago that Gurusamy Sarathy is now with the ActiveState team under the O'Reilly flag, therefor his distro won't be continued... Not sure if this is true, but nevertheless Guru is a guru, indeed!

      cheers!
Re: Win32 Perl
by webfiend (Vicar) on Apr 26, 2000 at 22:07 UTC

    Yet another option that I use quite a bit is the pl2bat script, which will make your Perl script executable from the command line. It isn't as good as the feel you get at a real shell prompt, but it's a little more comfortable.

    If I remember correctly, that comes with the ActiveState release.

    "All you need is ignorance and confidence; then success is sure." -- Mark Twain
Re: Win32 Perl
by toadi (Chaplain) on Apr 27, 2000 at 00:03 UTC
    But don't like ActiveState very much. There are many things wrong with it.
    Got the latest version installed now... Maybe now it's better
    But for serverside development linux rules :-)

    --
    My opinions may have changed, but not the fact that I am right
      It's not ActiveState's fault that Win32s suck. As a matter of fact, I have a broadcasting station at the office that is running NT/Apache/ActiveState and its running smooth...

      It all depends on what you're trying to do. My main bone to pick is with IIS. Sure they made it better in 4.0, but couldn't they at LEAST have read the RFC for SSI before writing SSINC.DLL??

      Its the basic functionality lacking that pisses me off...

      On a side note: all of my clients' sites run off *nix machines.

      cheers!