Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: help!! another simple bug

by perlmonkey (Hermit)
on May 10, 2001 at 07:05 UTC ( #79314=note: print w/replies, xml ) Need Help??


in reply to 'Premature end of script headers' error

The program works fine on my system. There are no warnings or errors that I see. If the code you posted here is the exact code you tested then I would assume that the code is not the problem.
Make sure that "/util/bin/perl" exists and is executable by the webserver.
Do you have other cgi scripts working on this webserver?
Did you make the script executable (via chmod)?

Good luck.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://79314]
help
Chatterbox?
[Corion]: 1nickt: Would be great, especially for naming parameters in @_.
[Corion]: When you pass an arrayref, you get to treat it like a local array. But then, I'm cautious with the experimental features, because just when I thought function signatures were a set thing, there is a proposal to use sub [ $foo, $bar ] { ... } to ...
[Corion]: ... declare the parameters, instead of the more common sub ($foo, $bar) { ... }

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-11-17 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?