abbreviation - Perl pragma to abbreviate class names
use abbreviation qw(Very::Long::ClassName::Here); my $obj = Very::Long::ClassName::Here->new; my $obj = V::L::CN::Here->new; # same
Tired of typing long class name? use abbreviation for that.
TRICK AND CAVEAT
Dynamic package name aliasing can be implemented via:
symbol table aliasing. (import.pm)
dynamic inheritance. (namespace.pm)
Both has virtue and vice. Currently, abbreviation.pm takes the former. This may change in the future.
Tatsuhiko Miyagawa <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.