From: Robert Klemme Date: 2006-09-28T15:55:04+09:00 Subject: Re: Alias for a class? Kevin Jackson wrote: > So my request is: > a: is it possible to alias a class (I know you can do it with > methods)? b: if not can it be added (perhaps with aka)? You can store that class in any variable or constant you like. So all of these work: $cl = ::StupidlyLongLibName::LongModuleName::LongClassName @cl = ::StupidlyLongLibName::LongModuleName::LongClassName @@cl = ::StupidlyLongLibName::LongModuleName::LongClassName cl = ::StupidlyLongLibName::LongModuleName::LongClassName Cl = ::StupidlyLongLibName::LongModuleName::LongClassName Note: depending on where in the code you are some of these do not really make sense. Kind regards robert