Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Command Line Output Different from Output to Browser

by stephen (Priest)
on Mar 26, 2002 at 02:12 UTC ( #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
Node Status?
node history
Node Type: note [id://154304]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-08-24 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (347 votes). Check out past polls.