Superfox il Volpone has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
Is there a way to alias or obtain a shortcut to refer to a package ?
for instance:
Kind regards,
s.fox
Is there a way to alias or obtain a shortcut to refer to a package ?
for instance:
or, a la c++:use common::system::utilities::Logger; Logger::print("stuff");
Thanks in advancenamespace Logger = common::system::utilities::Logger;
Kind regards,
s.fox
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Aliasing a package
by Anonymous Monk on Jan 25, 2014 at 10:11 UTC |
Back to
Seekers of Perl Wisdom