in reply to I want errors

As other have pointed out, your errors are going to your error log. This is, of course, the right place for them.

If you want the Perl error messages to go to the browser then you can add the line:

use CGI::Carp qw(fatalsToBrowser);

to your script. Be warned however that this is probably not a good idea as explicit error messages can give crackers clues to security holes in your site. By all means send the errors to the browser during development, but you should go back to the "vanilla" error messages when the script goes live.

--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>