"Larry Wall" <[EMAIL PROTECTED]> wrote:
> Also, since multi is orthogonal to naming ...

So I'm wondering what the correct syntax is to grab a reference to a group
of multi-somethings. Example:

multi sub foo(Int $a:) {...};
multi sub foo(String $a:) {...};

my $ref = multi &foo;

$ref("hello"); # calls &foo(String)

If this is possible, then $ref is presumably holding some form of junction
of the multi subs. Is it possible to create a similar junction of anonymous
multi-subs?


Dave.


Reply via email to