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 ' ', 'foo bar baz'
>     $P0.'import'($P1, ['ImportedNameSpace'], $P2)
>
> we could write
>
>     $P0.'import'($P1, ['KeyTo'; 'ImportedNamespace'], 'foo bar baz')
>

Ok, but then how would import the sub, "foo bar baz"? ^_^

easy, you use the 'safe' interface. i don't see a problem with
offering this less safe but optimized-for-humans hack, as long as it's
semi-predicate problem is documented.
~jerry

Reply via email to