Hey guys,

just got off a lengthy debugging session to get to the bottom of
this mysterious error message:

    Name "DB::single" used only once: possible typo at ./t.pl line 7.
    Can't connect to data source override in subclass, no database driver
    specified and DBI_DSN env var not set at ...

Turned out that it was an installation problem with a DateTime module
required by Rose::DB::MySQL. The reason why the error message is so
mysterious is that the real error gets suppressed here:

    #### Rose::DB.pm
    unless($Class_Loaded{$driver_class})
    {
      eval "require $driver_class"; # ignore errors
    }

Would it make sense to catch this type of module loading error and
display it?

-- Mike

Mike Schilli
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to