--- Michael Peters <[EMAIL PROTECTED]> wrote:

> Bill Catlan wrote:
> > Where a user does not specify a name space, where
> do
> > the methods go - a default namespace, or the
> module's
> > namespace?  I think, based upon what we said
> earlier,
> > it would be a default namespace - perhaps given by
> > UNIVERSAL::moniker - or whatever.
> 
> My intial thought would be to just put them into the
> module's 
> namespace wich is using the plugin. But that's my
> opinion. What 
> does everyone else think?

this contradicts a point of agreement below. plus,
there is the case where a user specifies override =>
0, but no 'name'.  In that case, I would prefer that a
default namespace be created using a unique, sensible
token of some sort.  please see point of contradicted
agreement below. 

> >>Maybe this... (as I said above)
> >>   use CGI::Application::Plugin::TT ( name => tt,
> >>override => 0);
> > 
> > 
> > Yes, default behavior for
> > 
> >   use CGI::Application::Plugin::TT
> > 
> > being:
> > 
> >   use CGI::Application::Plugin::TT ( name =>
> > [moniker], override => 1 );
> 
> That sounds good to me. Also, I would think that all
> plugins 
> should have those defaults as well (if we decide to
> use 
> UNIVERSAL::moniker default namespace).

Doesn't your agreement here contradict your above
statement that the default namespace would be the
module?

> > Correct?  Any ETA on when you see yourself getting
> to
> > this?  
> 
> Well, I didn't want to usurp Cees's work here. 

Understood.  If Cees wishes to be the maintainer of
C::A::Plugin, most maintainers happily accept diffs.
:)  Hopefully Cees likes what we've been discussing. 
I don't think anything we said hampers his ideas or
desired functionality.

> If Cees doesn't mind I'll take a crack at it, but I
> probably 
> won't get to it for a couple of days (maybe
> Wednesday?) since 
> work is pretty compelling today and tomorrow.

Hopefully Cees and others will come on board by then. 
I could really start using something like this almost
immediately.

> I'll have to look at the details of this, but I'm
> sure we can 
> find an easy flexible way to handle it.

Yep.  Let me know if I can be of any help.

Bill


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to