the right hand side is first evaluated (in scalar context), yielding 2. And 1 ~~ 2 is false.say 1 ~~ map $_->{id}, @test;
In reply to Re: map and smart match
by JavaFan
in thread map and smart match
by toapole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |