Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: URGENTperl test3.cgi runs fine at command line .. Fails when called from browser

by PotPieMan (Hermit)
on Dec 24, 2000 at 21:23 UTC ( #48202=note: print w/replies, xml ) Need Help??


in reply to URGENTperl test3.cgi runs fine at command line .. Fails when called from browser

This isn't the issue now, but don't forget to print HTTP headers once you get the module loaded and all. You'll need them if you want to see the output of the script from a browser. For example, add
print "Content-Type: text/plain\n\n";
or
print "Content-Type: text/html\n\n";
before any other print statements.

Hope you get the issue with the module resolved--tilly's suggestions sound like a good starting place.

--PotPieMan

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2021-04-11 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?