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.'import'($P1, ['KeyTo'; 'ImportedNamespace'], 'foo bar baz')
+1
Ok, but then how would import the sub, "foo bar baz"? ^_^
With:
$P2 = new .ResizablePMCArray
push $P2, 'foo bar baz'
$P0.'import'($P1, ['KeyTo'; 'ImportedNamespace'], $P2)
+1
Allison