use Shorter 'My::Company::Namespace::Customer'; use Shorter 'My::Company::Namespace::Preferred::Customer', as => 'Preferred';