On Fri, Sep 30, 2016 at 10:22 PM, Francis (Grizzly) Smit <[email protected] > wrote:
> I keep finding stuff like this: > > multi method spurt(IO::Path:D: Blob $contents, :$bin, |c)multi method > spurt(IO::Path:D: Cool $contents, :$bin, |c) > > > but I cannot find the |c syntax in the docs I have googled but no good > a pointer or link would be good. > > You are looking for captures: https://docs.perl6.org/type/Signature#Capture_Parameters -- brandon s allbery kf8nh sine nomine associates [email protected] [email protected] unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
