All I meant was, if CGI::Carp doesn't seem to work, this little snippet might help. ie. upload it into the same directory, amending the 'foo.pl' (x2) as necessary and look at the output in your browser. Since it evals the script, it traps the error and allows you to send it to the browser.
cLive ;-)
ps - if you need more inffo on this, why not /msg me...