in reply to Exporter & Class::DBI
They're methods, not functions. Methods need an invocant. That's why they're methods, not functions.
If you really want to do this, you have to install thunk functions in your package that, presumably, close over the invocant class name and call the methods directly. If you do that though, there's little reason to inherit from Class::DBI.
|
|---|