in reply to Module Naming Dilemma
I also think that using the pragma 'class' for this purpose is a very bad idea.
Partly because it implies the aliasing would only work for classes, when it would work for any package.
Partly because a 'class' pragma could be used for so many other, more specific purposes.
Maybe package?
use package Long::Unweildy::Module::or::Package, as => 'LUMP';
Or minym. As a non-word it is unlikely to clash with any other usage, but the derivation should be quickly and easily grasped by anyone encountering it for the first time.
use minym 'LUMP', for => 'Long::Unweildy::Module::or::Package';
You might even become responsible for giving the language a new word :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Module Naming Dilemma
by Ovid (Cardinal) on Jan 05, 2005 at 03:07 UTC | |
|
Re^2: Module Naming Dilemma
by bmann (Priest) on Jan 05, 2005 at 02:33 UTC | |
by BrowserUk (Patriarch) on Jan 05, 2005 at 10:57 UTC | |
by Solo (Deacon) on Jan 05, 2005 at 15:49 UTC | |
by bmann (Priest) on Jan 05, 2005 at 17:27 UTC | |
by BrowserUk (Patriarch) on Jan 05, 2005 at 17:35 UTC |