Documentation for method
from assembled from the following types:
Assumes the list contains
Match objects and returns the value of
.from called on the first element of the list.
'abcdefg' ~~ /(c)(d)/;say $/.list.from; # OUTPUT: «2␤»"abc123def" ~~ m:g/\d/;say $/.list.from; # OUTPUT: «3␤»
Returns the index of the starting position of the match.
method from(--> Str)
Returns the name of the language with which the
CompUnit object was created (if any). It will be
Perl6 by default.
Returns the source of the failed copy operation
Returns the source of the failed rename operation
Returns the source of the failed move operation