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.
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 <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
import, namespace.
To install abbreviation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm abbreviation
CPAN shell
perl -MCPAN -e shell install abbreviation
For more information on module installation, please visit the detailed CPAN module installation guide.