in reply to Re: How to share DBI connections between objects?
in thread How to share DBI connections between objects?
Hi GrandFather,
I see you are not using the 'usual' way of doing classes. Usually, I use something like this:
package Job; use base 'DBObject'; sub new { my ($class, %params) = @_; ... return $class->SUPER::new(...); }
There's any special reason for not doing this way?
Igor 'izut' Sutton
your code, your rules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to share DBI connections between objects?
by GrandFather (Saint) on Mar 26, 2007 at 22:39 UTC |