Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: inheritance not working as expected

by pope (Friar)
on Jul 03, 2001 at 20:02 UTC ( #93556=note: print w/replies, xml ) Need Help??


in reply to inheritance not working as expected

When subclassing DBI, say into YourPackage package, you must also subclass DBI::db and DBI::st into YourPackage::db and YourPackage::st, respectively.
Take a look at t/subclass.t included in DBI distribution as a working example on this.
  • Comment on Re: inheritance not working as expected

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2020-01-29 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?