in reply to
map and smart match
Because in
say 1 ~~ map $_->{id}, @test;
[download]
the right hand side is first evaluated (in scalar context), yielding 2. And
1 ~~ 2
is false.
Comment on
Re: map and smart match
Select
or
Download
Code
In Section
Seekers of Perl Wisdom