Hi!

On Fri, Jun 27, 2003 at 02:47:45PM +0400, "Sergey V. Stashinskas"  wrote:

> sub handler {
>     my $r = shift;
> 
>     my $dbh = DBI->connect('dbi:mysql:db', 'user', 'pswd');
>     $dbh->disconnect;

maybe the DBI->connect isn't working and thus your script dies / throws some
error ? 

I'd try to check if connect works, if $dbh works, etc.

-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to