On 09/23/2017 12:35 PM, Brandon Allbery wrote:
On Sat, Sep 23, 2017 at 3:31 PM, Brandon Allbery <allber...@gmail.com
<mailto:allber...@gmail.com>> wrote:
On Sat, Sep 23, 2017 at 2:09 AM, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:
method write(IO::Handle:D: Blob:D $buf --> True)
The key here is the colon *after* `IO::Handle:D`: that marks the
Handle as an invocant, i.e. this is a method to be applied to an
object. (The fact that it has a `type smiley`, i.e. another colon
before that, doesn't help with deciphering the signature....)
I should also mention that that colon also shows how you can call write
as a sub: use a colon instead of a comma after the Handle.
write($myHandle: whatever);
Sweet! Thank you!