Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Class::DBI::Loader problems

by lestrrat (Deacon)
on Apr 12, 2006 at 17:46 UTC ( [id://542907]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Class::DBI::Loader problems
in thread Class::DBI::Loader problems

I find this very very odd, but try adding a 'use Class::DBI;' call in the main script that you are calling Class::DBI::Loader from.

From what I can tell, Class::DBI::mysql's call to use base 'Class::DBI' isn't use()ing Class::DBI at all -- but I thought use base was anologous to use()ing the module and then setting @ISA appropriately.

I might just release a new Class-DBI-Loader distro with a use Class::DBI call up front

Replies are listed 'Best First'.
Re^4: Class::DBI::Loader problems
by rlb3 (Deacon) on Apr 12, 2006 at 18:16 UTC

    You win the prize! My use statements looks like:

    use strict; use warnings; use Data::Dumper; use Class::DBI; use Class::DBI::Loader;

    And now everything works fine. Is this a bug should someone be notified?

    Thanks,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://542907]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-19 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found