hello,
playing with <>, two questions came to my mind:
a) why isn't it "regular" ?
use Test;
ok < foo bar bang > ~~ List, "a list";
ok < foo bar > ~~ List, "a list";
ok < foo > ~~ List, "a list"; diag "actually a Str";
ok < > ~~ List, "a list";
not only it
> On 13 Oct 2015, at 17:15, Marc Chantreux wrote:
>
> hello,
>
> playing with <>, two questions came to my mind:
>
> a) why isn't it "regular" ?
>
>use Test;
>ok < foo bar bang > ~~ List, "a list";
>ok < foo bar > ~~ List, "a list";
>ok < foo >
> On 13 Oct 2015, at 20:21, Marc Chantreux wrote:
> On Tue, Oct 13, 2015 at 05:59:04PM +0200, Elizabeth Mattijsen wrote:
> an unnamed hash ? does it make sense?
sub h() { my % = a => 42, b => 666 }; dd h
Just another way to create an anonymous hash.
Liz