The full package name is CG::CORE2. I didn't even know about Perl's CORE, and it never interfered.
Subroutine sub1 redefined at /home/path/module.pm line 68.
Subroutine sub2 redefined at /home/path/module.pm line 197.
etc.
where module.pm is used from CG::CORE2.
sub do_something {
my $var1 = shift;
my $var2 = shift;
my %hash = %{module::subroutine($var1, $var2)};
}
model::subroutine is supposed to return a hash reference, and exists within the code of module.pm. However, it doesn't seem to be loading all the subroutines of module.pm. |