Skip to content

Commit b2f2915

Browse files
committed
Mention ^...^ too
1 parent 766f608 commit b2f2915

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

S03-operators.pod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,6 +2032,9 @@ on the left is complicated, especially if the left list is another sequence:
20322032
1, 2, 3 ^... *; # 2, 3 ... !
20332033
1, 2, 3 ... 10, 20, 30 ^... *; # 2, 3 ... !?!?
20342034

2035+
And yes, there's also a C<^...^> form, for those people who have an
2036+
undue fondness for symmetry.
2037+
20352038
As with numeric values, a string match must be exact, or an infinite sequence
20362039
is produced. Use a different smartmatch such as a regular expression or
20372040
a closure to do fancier tests.

0 commit comments

Comments
 (0)