Re: [perl #41878] [TODO] create exporter pmc

2007-03-21 Thread Allison Randal
Patrick R. Michaud wrote: On Sat, Mar 17, 2007 at 06:16:08PM -0400, Will Coleda wrote: On Mar 17, 2007, at 4:37 PM, Patrick R. Michaud wrote: Could we also do some multi-dispatch here or typechecking of $P2 so that it could also be a whitespace-separated string of subnames to import? $P0

Re: [perl #41878] [TODO] create exporter pmc

2007-03-17 Thread Patrick R. Michaud
On Sat, Mar 17, 2007 at 06:16:08PM -0400, Will Coleda wrote: > On Mar 17, 2007, at 4:37 PM, Patrick R. Michaud wrote: > >Could we also do some multi-dispatch here or typechecking of $P2 > >so that it could also be a whitespace-separated string of subnames > >to import? Then instead of > > > >$

Re: [perl #41878] [TODO] create exporter pmc

2007-03-17 Thread jerry gay
On 3/17/07, Will Coleda <[EMAIL PROTECTED]> wrote: On Mar 17, 2007, at 4:37 PM, Patrick R. Michaud wrote: > Could we also do some multi-dispatch here or typechecking of $P2 > so that it could also be a whitespace-separated string of subnames > to import? Then instead of > > $P2 = split ' ',

Re: [perl #41878] [TODO] create exporter pmc

2007-03-17 Thread Will Coleda
On Mar 17, 2007, at 4:37 PM, Patrick R. Michaud wrote: On Sat, Mar 17, 2007 at 12:12:12PM -0700, Allison Randal via RT wrote: Jerry Gay (via RT) wrote: ...an Exporter PMC that defines an api for exporting. Proposed interface: $P0 = new Exporter $P0.import($P1, ['KeyTo'; 'ImportedNamespace'

Re: [perl #41878] [TODO] create exporter pmc

2007-03-17 Thread Patrick R. Michaud
On Sat, Mar 17, 2007 at 12:12:12PM -0700, Allison Randal via RT wrote: > Jerry Gay (via RT) wrote: > > ...an Exporter PMC that defines an api for > > exporting. > > Proposed interface: > > $P0 = new Exporter > $P0.import($P1, ['KeyTo'; 'ImportedNamespace'], $P2) > > where $P1 is the current name