Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Script not returning header

by ProgrammingAce (Sexton)
on Mar 09, 2002 at 09:07 UTC ( #150515=note: print w/replies, xml ) Need Help??

in reply to Script not returning header

I think i figured out the problem, I went back an used a CGI object, and it worked. I assume (and we all know what happens when you assume...) that tripod castrated the file so that now all you can use is the OO part... here's working code:
use CGI; $q = new CGI; print $q->header, $q->start_html('hello world'), $q->h1('hello world'), $q->end_html;

Thanks for all of your help

        - Ace "Two programmers walk into a bar, the third ducks"

Replies are listed 'Best First'.
Re: Re: Script not returning header
by Kanji (Parson) on Mar 09, 2002 at 09:29 UTC

    If you're using the version Tripod offer, it's a horrendously outdated copy of -- 2.30 (dated 1997 ... the horror!)


Re: Re: Script not returning header
by gellyfish (Monsignor) on Mar 09, 2002 at 12:32 UTC

    I don't think that the is in itself castrated or changed in anway - I downloaded the file and it appears to be an unchanged 2.30 version, I think that it is something else that tripod is doing as I mention in Re: Script not returning header ...


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150515]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2022-07-01 11:56 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (98 votes). Check out past polls.