On 2008-01-03 Ovid <[EMAIL PROTECTED]> wrote:
> Perl 5 couldn't really solve this and programmers just had to "know"
> that all methods were implicitly variadic.  I seem to recall that
> Larry had an idea about how to specify a signature (I could be
> misremembering and I can't find the response).

Hmmm. Could it have been with the C<:()> construct?

So that we might one day say


I feel, though, that saying


would be more useful, since the dispatcher unifies signatures with
captures, and after all I want to know if I can invoke a method called
C<bark> with the number 42.

By the way, what happened to C<<method bark(Int $a where { $a < 10
})>> ? I can't find it in the Synopses ( http://perlcabal.org/syn/ )

        Dakkar - <Mobilis in mobile>
        GPG public key fingerprint = A071 E618 DD2C 5901 9574
                                     6FE2 40EA 9883 7519 3F88
                            key id = 0x75193F88

No violence, gentlemen -- no violence, I beg of you!  Consider the
furniture! -- Sherlock Holmes

Reply via email to