Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Using the modules I want to use.

by cal (Beadle)
on Nov 02, 2002 at 18:25 UTC ( #209976=note: print w/replies, xml ) Need Help??

in reply to Re: Using the modules I want to use.
in thread Using the modules I want to use.

Thanks, When I use this use GD 1.27; I get Internal Server Error. [Sat Nov  2 13:22:10 2002] [error] [client] Premature end of script headers: /u/web/dom/cgi-local/whichversion.cgi

Replies are listed 'Best First'.
Re: Re: Re: Using the modules I want to use.
by George_Sherston (Vicar) on Nov 03, 2002 at 01:16 UTC
    I'd guess that whicversion.cgi is sending output without an http header. If that's right then you need either
    use CGI qw/:standard/; print header;
    or just
    print "Content-type: text/html\n\n";
    before any print commands in your script, which will allow the output from the script to appear in the browser window.

    George Sherston

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://209976]
[stevieb]: choroba my GPS home device is done, at least prototype v1 is. I'm just making sure all of my code does what it says now
[stevieb]: I test/prototype code on my Pi, then I migrate it over to Arduino when it's ready (if that's a better platform for what I'm doing). The whole RPi stuff was for learning at first, then it snowballed. I'm just trying to get my in-house CI...
[stevieb]: ...done, which obviously requires a specific hardware setup.
[stevieb]: I don't write tests for the lower-level distributions (ie. ICs, sensors etc) within those distributions, I have all tests in a master distribution which encompasess all of the sub-modules

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-06-25 22:58 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (572 votes). Check out past polls.