El Saturday, 17 de September del 2016 a les 10:21, MT va escriure:
Btw the following has the same problem;
> my Hash $h = {a=>1,b=>2}
{a => 1, b => 2}
> $h:exists
True
> subset mh of Str where $h{$_}:exists
(mh)
> my mh $x = 'b'
Type check failed in assignment to $x; expected mh but got Str
On Fri, Sep 30, 2016 at 10:22 PM, 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
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
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.
--
.~. In my life God
On 01/10/16 12:27, Brandon Allbery wrote:
On Fri, Sep 30, 2016 at 10:22 PM, Francis (Grizzly) Smit
> wrote:
I keep finding stuff like this:
multi method spurt(IO::Path:D: Blob $contents, :$bin, |c)
multi method
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #129772]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=129772 >
If you accidentally use an `int` variable as a Callable, you get a
helpful error:
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #129768]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=129768 >
Hello :) So, wondering if anyone might know - in a parameter
signature, if you have a