name for a module that implements dynamic inheritance?

2003-10-30 Thread Dave Rolsky
So I want to write a module that lets you do something like this: my $class = hierarchy( 'Foo::Top', 'Foo::Middle', 'Foo::Last' ); my $foo = $class-new; my $other_class = hierarchy( 'Foo::Middle', 'Foo::Top', 'Foo::Last' ); So the idea is that you give it a list of classes, and it

[OT] chicksoprocity (was Re: module to access w3c validator)

2003-10-30 Thread Christopher Hicks
On Wed, 29 Oct 2003, Jim Cromie wrote: OT - Chris, does your email address get you black-holed a lot ? Not really. It does raise eyebrows though. One client had a female staffer that felt sexually harassed by needing to use that e-mail address for tech support questions. [sigh.] But that

Re: name for a module that implements dynamic inheritance?

2003-10-30 Thread Simon Cozens
[EMAIL PROTECTED] (Dave Rolsky) writes: There's a lot of trickery that would need to be involved here, as you can't simply alter @ISA for the specified classes, and I'm not entirely sure how I'll implement it, but that's a separate problem. Sex.pm does this sort of thing, in case you haven't

Re: name for a module that implements dynamic inheritance?

2003-10-30 Thread Dave Rolsky
On Thu, 30 Oct 2003, Simon Cozens wrote: [EMAIL PROTECTED] (Dave Rolsky) writes: There's a lot of trickery that would need to be involved here, as you can't simply alter @ISA for the specified classes, and I'm not entirely sure how I'll implement it, but that's a separate problem. Sex.pm

Re: name for a module that implements dynamic inheritance?

2003-10-30 Thread Dave Rolsky
On Thu, 30 Oct 2003, Dave Rolsky wrote: First, I need a name. I'm pretty sure this belongs under the Class:: namespace, so here's a few I came up with: Class::DynamicWrapper Class::DynamicISA Class::DynamicInheritance Class::Chain Well, I threw this together and it works,

Re: name for a module that implements dynamic inheritance?

2003-10-30 Thread Fergal Daly
On Thursday 30 October 2003 18:24, Dave Rolsky wrote: Well, sort of. It messes with the symbol table of the dynamically constructed child, which ends up with each parents methods. I don't really want to do that. I want to be able to have any of the intermediate classes call SUPER::foo() and

Re: module to access w3c validator

2003-10-30 Thread Struan Donald
* at 29/10 09:31 -0500 [EMAIL PROTECTED] said: There are 2 or 3 things that need to be in the name, Validator, that's what it is, HTML because that's what works on and possibly W3C because that's where the engine comes from, so I'd suggest HTML::Validator::W3C Which is going to get confused

Re: module to access w3c validator

2003-10-30 Thread Fergal Daly
On Thursday 30 October 2003 21:51, Struan Donald wrote: HTML::Validator::W3C Which is going to get confused with HTML::Validator and also I think you need to make sure people know it's a web thing. Sorry, should have been HTML::Validate::W3C that way you're in a clean namespace. I knew