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.
In reply to Exporter & Class::DBI by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |