On 01/10/16 12:22, Francis (Grizzly) Smit 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.

sorry to bother you I found what I need

https://docs.perl6.org/type/Signature#Capture_Parameters

https://docs.perl6.org/type/Capture

--

   .~.     In my life God comes first....
   /V\         but Linux is pretty high after that :-D
  /( )\    Francis (Grizzly) Smit
  ^^-^^    http://www.smit.id.au/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/H/P/S/IT/L d- s+:+ a++ C++++ UL++++$ P+++ L+++$ E--- W+++
N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b++++ DI(+) D-
G e++ h+ y? r% z---
------END GEEK CODE BLOCK------
http://www.geekcode.com/

Reply via email to