Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Command Line Output Different from Output to Browser

by stephen (Priest)
on Mar 26, 2002 at 02:12 UTC ( [id://154304]=note: print w/replies, xml ) Need Help??


in reply to Command Line Output Different from Output to Browser

One potential problem: you don't print the CGI header at any point.

Try putting:

print "Content-type: text/html\n\n";
or better yet:
use CGI qw(standard); print header();
at the top of your code, before you print anything.

stephen

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found