Skip to content

Commit 069bda8

Browse files
committed
Clarification on usefulness of %h<a>:!exists
After having been caught by this a few times while adapting the test-suite.
1 parent 26c204c commit 069bda8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

S02-bits.pod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,9 @@ similar semantics:
25282528

25292529
although with different optimization options for the compiler.
25302530

2531-
You may use :!exists to test for non-existence.
2531+
You may use :!exists to test for non-existence. This is specifically handy
2532+
because of precedence rules making C<!%hash<a>:exists> apply the :exists to the
2533+
prefix C<!>. C<%hash<a>:!exists> does not have that problem.
25322534

25332535
=head2 Combining subscript adverbs
25342536

0 commit comments

Comments
 (0)