perlCrazy has asked for the wisdom of the Perl Monks concerning the following question:
When I run the calling program it says like this :BEGIN { use Exporter (); use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); #set the version for version checking; uncomment to use $VERSION = 1.00; @ISA = qw(Exporter); @EXPORT = qw( &getTableDDL &getIndex &getMatchingTableDDL + &getConstraints); %EXPORT_TAGS = ( ); # eg: TAG => [ qw!name1 name2! ], # your exported package globals go here, # as well as any optionally exported functions @EXPORT_OK = qw(); $Exporter::Verbose=1 }
my $dbh = $entity->getConnection(); # Grab a connection for general us +e my $obj = Dbschema->new($dbh); my ($val) = $obj->getMatchingTableDDLDbaPortal','Entity%'); ###this method getMatchingTableDDL is get called even if removed from +exporter array in module !!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Exporter module
by ikegami (Patriarch) on Jul 18, 2007 at 19:39 UTC | |
by perlCrazy (Monk) on Jul 18, 2007 at 19:51 UTC | |
by ikegami (Patriarch) on Jul 18, 2007 at 20:04 UTC | |
by Joost (Canon) on Jul 18, 2007 at 22:45 UTC | |
by ikegami (Patriarch) on Jul 19, 2007 at 14:32 UTC | |
by perlCrazy (Monk) on Jul 19, 2007 at 12:42 UTC |