in reply to Not inheriting imported subs
In your example, just add
right afteruse namespace::clean;
in the Bar package.use Data::Dump qw/dd/;
can dd: undef at ./1.pl line 45. AUTOLOAD Bar::dd at ./1.pl line 27.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not inheriting imported subs (SOLVED: namespace::clean)
by LanX (Saint) on Apr 28, 2019 at 21:06 UTC |