The Very::Long::Class::Name problemby Arunbear (Prior)
|on Oct 13, 2003 at 20:27 UTC||Need Help??|
Arunbear has asked for the
wisdom of the Perl Monks concerning the following question:
Hello friends, is there any way to abbreviate code like this:
$obj = Very::Long::Class::Name->new; $result = Very::Long::Class::Name->other_class_method;
In Python you can do
import Very.Long.Class.Name as Name obj = Name() Name.other_class_method()Does Perl have an analogous shortcut?
Thanks for any suggestions.