Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2008-11-29 Thread Kevin Tew
reject, there is a new ticket Klaas-Jan Stol via RT wrote: On Fri Dec 21 07:31:46 2007, pmichaud wrote: Kevin Tew started investigating this ticket, and he discovered that :method subs are already being placed as entries in the namespace by default, which is the behavior I was looking for.

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-21 Thread Patrick R. Michaud
Kevin Tew started investigating this ticket, and he discovered that :method subs are already being placed as entries in the namespace by default, which is the behavior I was looking for. So, the issue turns out to be a non-issue (for me at least), unless we decide to make it one. Apologies fo

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-21 Thread Allison Randal
Patrick R. Michaud wrote: Optional string parameter to C<:namespace> : Anytime there's a namespace or class parameter, I think we have to consider the possibility of a keyed argument, since the general case is that namespaces are given by keys, not strings. Ah, you're reading :namespace as s

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-20 Thread Patrick R. Michaud
On Thu, Dec 20, 2007 at 09:20:22AM +0200, Allison Randal wrote: > Patrick R. Michaud wrote: > > > >Of course, in the previous object model I think there was only > >one place to look, and find_method did the searching. > > In the previous model, there was no distinction between subroutines and >

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-19 Thread Allison Randal
Patrick R. Michaud wrote: Of course, in the previous object model I think there was only one place to look, and find_method did the searching. In the previous model, there was no distinction between subroutines and methods. Any method could be called as a subroutine, and any subroutine coul

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-18 Thread Patrick R. Michaud
On Tue, Dec 18, 2007 at 03:52:39PM +0200, Allison Randal wrote: > Patrick R.Michaud (via RT) wrote: > > > >This ticket is asking for some convenient mechanism to have > >a :method be automatically entered as a sub in the namespace. > >This used to be the situation prior to the pdd15oo merge, > >and

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-18 Thread Allison Randal
Patrick R.Michaud (via RT) wrote: This ticket is asking for some convenient mechanism to have a :method be automatically entered as a sub in the namespace. This used to be the situation prior to the pdd15oo merge, and I've come across some instances in perl6 and PGE where this is really needed.