Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But Perl complainspackage My_mod; require Exporter; @ISA = qw(Exporter Class::DBI); @EXPORT = qw/get_something/; use My_mod::table1;
Why does putting Class::DBI in @ISA not work?Can't locate object method "table" via package "My_mod::table1" at My_ +mod/table1.pm line 6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Exporter & Class::DBI
by chromatic (Archbishop) on Apr 02, 2006 at 00:17 UTC |