Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Script not returning header

by gellyfish (Monsignor)
on Mar 09, 2002 at 12:09 UTC ( [id://150549]=note: print w/replies, xml ) Need Help??


in reply to Script not returning header

It's something weird about the environment that CGI programs are executed in on Tripod.

I tested this on Tripod and I couldn't get it to work when using CGI.pm in the functional style - however it does work if you are using it in the OO style:

#!/usr/local/bin/perl use strict; require CGI; my $cgi = CGI->new(); print $cgi->header(),"\n"; print "<p>Hello, World</p>";

I don't know what is going on here though ...

/J\

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (1)
As of 2024-04-25 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found