Subject: | use aliased qw(Foo::Bar) does not export alias() |
use aliased qw(Foo::Bar);
my $alias = alias "This::That";
The above will not work because aliased will not export alias() if you
ask it to alias a module. It probably should although that leaves no
way to tell aliased not to export alias().
A work around is to say "use aliased;" in addition to the above.