Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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


Comment on Re: Command Line Output Different from Output to Browser
Select or Download Code

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 surveying the Monastery: (11)
As of 2014-07-22 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (127 votes), past polls