in reply to Re: Module not loading completely?
in thread Module not loading completely?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Module not loading completely?
by rminner (Chaplain) on Oct 30, 2013 at 12:15 UTC | |
by ric00015 (Beadle) on Oct 30, 2013 at 15:35 UTC |