Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Win32 crashes perl

by CountZero (Bishop)
on Nov 29, 2006 at 13:25 UTC ( [id://586780]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 13: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 03: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586780]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.