Documentation for method
to assembled from the following types:
Returns the destination of the failed copy operation
Returns the destination of the failed move operation
Returns the destination of the failed rename operation
"abc123def" ~~ m:g/\d/;say $/.to; # OUTPUT: «6␤»
Match objects, such as the
$/ variable being a
List, when using
:g modifier in regexes. Returns the value of
.to called on the last element of the list.
Returns the index of the position next to the end of the match. It will return the match position if the end of the match is negative, and
Nil if there has been no match.