[ABE.pm] And another thing...
Phil Lawrence
phil at five-lawrences.com
Fri May 19 10:41:23 PDT 2006
On May 17, 2006, at 7:15 PM, Faber J. Fedor wrote:
> How do I pass a variable from the superclass to the subclass? Nothing
> I've tried works.
>
> Specifically, I want to make a DB connection in my superclass which
> all
> of the subclasses would use (ideally, it should be the same connection
> for all subclasses, but that's a nicetie right now). One ofthe
> simplest
> things I've done in my superclass is this:
See connect_cached in the DBI perldoc and see if it helps.
Phil
More information about the ABE-pm
mailing list