in reply to Win32 crashes perl

Well, what can I say ... I have the same version of AS Perl on my computer and there it works (at least it does not "crash").

On an entirely unrelated issue: why do you start your program with #!/usr/bin/perl? On a Windows system it is most unlikely that the perl-executable is to be found at that location.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^2: Win32 crashes perl
by SheridanCat (Pilgrim) on Nov 29, 2006 at 18:36 UTC
    why do you start your program with #!/usr/bin/perl?
    There's no reason not to use the #! line. I use it in my Windows code as I sometimes will want to use that same code on a Linux box. One upside of Perl is it's portability (when you write with that in mind) - no reason not to accommodate that from the get-go.
Re^2: Win32 crashes perl
by reneeb (Chaplain) on Nov 30, 2006 at 08:12 UTC
    If you run Apache on your windows machine and you have installed Perl at C:\usr\, then Apache will find the perl executable at /usr/bin/perl. So this shebang is necessary and correct.
      I run Apache on my Windows machine. Perl is not installed at c:/usr/ and none of my scripts use the she-bang line and still it works. So it may be correct but it sure is not necessary.

      CountZero

      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law