Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: Re: Re: Perl and XML

by BzBeauty (Sexton)
on Mar 16, 2004 at 23:30 UTC ( #337171=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Perl and XML
in thread Perl and XML

thank you. that fixed it. maybe I should rename myself to CGI<101 so yeah, how do you use the
use CGI::Carp 'fatalsToBrowser';
do you need the
print "Content-type: text/plain\n\n";
for that to work as well. Cause I stuck the fatalsToBrowser in their first hoping for a decent error message - but no same error. And of course, when I put the header in their, it works, so no error at all.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Perl and XML
by bart (Canon) on Mar 16, 2004 at 23:52 UTC
    "fatalsToBrowser" will only kick in in case Perl produces an error. In this case, it didn't, forgetting the header and closing off the headers, was completely your own mistake. Perl itself didn't complain, but still, the webserver wasn't happy.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2019-11-12 01:09 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (64 votes). Check out past polls.