my $dbh = $entity->getConnection(); # Grab a connection for general use my $obj = Dbschema->new($dbh); my ($val) = $obj->getMatchingTableDDLDbaPortal','Entity%'); ###this method getMatchingTableDDL is get called even if removed from exporter array in module !!!