abbreviation(3) - Linux man page
Synopsis
use abbreviation qw(Very::Long::ClassName::Here); my $obj = Very::Long::ClassName::Here->new; my $obj = V::L::CN::Here->new; # same
Description
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.
Author
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.
See Also
import, namespace.
