Two questions:

1. How would the capture sigil affect the use of capture objects as
replacements for perl5's references?

2. With the introduction of the capture sigil, would it be worthwhile
to allow someone to specify a signature as a capture object's 'type'?
That is:

   my :(Dog: Str $name, Num :legs) |x = /($spot: "Spot"):legs<4>;

in analogy to 'my Dog $spot'?

--
Jonathan "Dataweaver" Lang

Reply via email to