Usually you create an object
my $logger = common::system::utilities::Logger->new; $logger->print( ... );
or a subroutine sub LOG { &common::system::utilities::Logger::print }
but you can do "aliases" with Package::Alias use Package::Alias Logger => 'common::system::utilities::Logger' ;
or do it yourself
BEGIN{ use common::system::utilities::Logger; *Logger:: = *common::system::utilities::Logger::; }
In reply to Re: Aliasing a package
by Anonymous Monk
in thread Aliasing a package
by Superfox il Volpone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |