FAQ
Hi,

while writing some tests for the smartmatch operator, I noticed this item:

Any * block signature match block successfully binds to |$_

which block is this talking about? the current &?BLOCK? Somehow this
doesn't make much sense to me.


I also noticed that the slice operations aren't fully consistent:
Any .{...} hash value slice truth ?all(X) i.e. ?all(.{...})
...
Array Hash hash slice existence X.{any @$_}:exists

Is there a good reason why it's all() in the first case, and any() in
the second?

Cheers,
Moritz

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl6-language @
categoriesperl
postedJul 6, '09 at 10:43p
activeJul 6, '09 at 10:43p
posts1
users1
websiteperl6.org

1 user in discussion

Moritz Lenz: 1 post

People

Translate

site design / logo © 2021 Grokbase