Date: | Tue, 05 Aug 2003 16:46:54 -0700 |
From: | Kimon Papahadjopoulos <kimon [...] persistcorp.com> |
To: | bug-par [...] rt.cpan.org |
Subject: | problem with use base |
Hello,
I was trying out pp on one of my programs, which has the line
use base $module
instead of:
BEGIN {
our @ISA = ($module);
require $module;
}
(see pp323 of 3rd edition "Programming Perl" for this example).
Anyway, It appears that PAR does not take into account "use base" when
considering which modules to package. I can get around it by adding:
use $module
prior to the "use base", but figured you'd want to fix this.
Thanks,
Kimon