Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://209976]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-10-24 10:38 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.