in reply to Re: DBI script runs from command line, not from CGI
in thread DBI script runs from command line, not from CGI

%attrib = ( RaiseError => 1, PrintError => 0 );

When you add \%attrib to the end of the DBI->connect statement (as is done) errors are handled by a die automatically. It saves you writing error checking code for every statement.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print