Mike Lambert wrote:

> class Date is Really::Long::Package::Name::Ugh;
> 
> class DateManipulator;
> our Date $date2manip;
> ...date manip methods here...
> 
> An external class is thus unable to do:
> $DateManipulator::date2manip = new Really::Long::Package::Name::Ugh()
> 
> Is that correct? 

Yes. You can't assign a base class object to a derived class variable.

But the whole point of the Date class is so you never have to type
Really::Long::Package::Name::Ugh.

If you want true aliasing, you can always use true aliasing:

        my class Date := Really::Long::Package::Name::Ugh;

Damian

Reply via email to