Skip to content

Commit 629dbe9

Browse files
committed
hash smartmatching just shouldn't try to guess
With our lovely junctions available for clarity, we should just force the user to be clear.
1 parent c58b918 commit 629dbe9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

S03-operators.pod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3695,12 +3695,13 @@ as a default because the more specific types listed above it didn't match.
36953695
Hash Hash hash mapping equivalent $_ eqv X
36963696
Associative Hash force hash comparison $_.Hash eqv X
36973697
Callable Hash hash vs predicate so $_(X)
3698+
Positional Hash attempted any/all FAIL, point user to [].any and [].all for LHS
36983699
Pair Hash hash does mapping X{.key} ~~ .value
36993700
Any Hash hash contains object X{$_}:exists
37003701

37013702
Str Regex string pattern match .match(X)
3702-
Associative Regex hash key "boolean grep" .keys.any.match(X)
3703-
Positional Regex implied cat .Cat.match(X)
3703+
Associative Regex attempted reverse dwim FAIL, point user to any/all vs keys/values/pairs
3704+
Positional Regex attempted any/all/cat FAIL, point user to any/all/cat/join for LHS
37043705
Any Regex pattern match .match(X)
37053706

37063707
Range Range subset range !$_ or .bounds.all ~~ X (mod ^'s)

0 commit comments

Comments
 (0)