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.
In reply to Re: Not inheriting imported subs
by choroba
in thread Not inheriting imported subs
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |