in reply to Class::DBI connect info from file?
The Class::DBI documentation covers this. You setup a method called db_Main() which will return a valid DBI handle. All subclasses that don't otherwise override db_Main will use that handle.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Class::DBI connect info from file?
by perrin (Chancellor) on Jan 21, 2004 at 21:51 UTC |