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
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
[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
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
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,
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
* 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
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