Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 having an uproarious good time at the Monastery: (2)
As of 2016-06-29 23:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (388 votes). Check out past polls.