On Wed, Mar 09, 2005 at 09:13:27AM -0800, Larry Wall wrote:
:     sub foo ( Int $bar where { $_ == 0 } )    { ... }

Well, I'm not sure about that syntax.  It might have to be either

    sub foo ( Int where { $_ == 0 } $bar )    { ... }

or

    sub foo ( $bar of Int where { $_ == 0 } $bar )    { ... }

But if even I fall into that syntactic trap, maybe we'll end up allowing
it as a special DWIM case.

Larry

Reply via email to