in reply to new Class:: module to declare classes in Perl in the popular way: class foo extends bar { sub x($var){..} }

Personally I think that this looks much more ugly than Perls way to do things. Also how does it handle multiple-inheritance? My understanding from the CB is that Java doesnt do MI, but it is certain that Perl does....


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


  • Comment on Re: new Class:: module to declare classes in Perl in the popular way: class foo extends bar { sub x($var){..} }
  • Download Code

Replies are listed 'Best First'.
Re: Re: new Class:: module to declare classes in Perl in the popular way: class foo extends bar { sub x($var){..} }
by gmpassos (Priest) on Oct 06, 2003 at 19:39 UTC
    Well, you still can do push(@ISA,Bar);, but I can add class Foo extends Bar , Baz {}

    Graciliano M. P.
    "Creativity is the expression of the liberty".