Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 ( [id://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