I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-01-31 13:46:17-08 by earl in response to 1725
Re: Getting a foreign class pushed onto the @ISA array

I just want to say that I REALLY, REALLY like this module. It's amazing. I'm impressed that there is support for foreign classes. And I'm trying not be negative.

Having said that, what are the consequences of just doing a "use base" to get the modules on the @ISA array? Would this break the Object::InsideOut module?

My pure virtual class PVC doesn't have a "new" subroutine. A pure virtual class just provides a list of subroutines that all subclasses should implement. Furthermore, PVC doesn't make any commitment to the representation of the blessed object. You could have an inside out subclass and a hash-based subclass that are PVCs. Likewise, it doesn't make sense to create an object from a pure virtual class, because the subroutines are not implemented. See the Class::Virtual module.

Earl
Direct Responses: 1728 | Write a response