In List§
See primary documentation in context for method from.
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»
In Match§
See primary documentation in context for method from.
method from()
Returns the index of the starting position of the match.
In X::IO::Rename§
See primary documentation in context for method from.
Returns the source of the failed rename operation
In X::IO::Move§
See primary documentation in context for method from.
Returns the source of the failed move operation
In CompUnit§
See primary documentation in context for method from.
method from(--> Str:D)
Returns the name of the language with which the CompUnit object was created (if any). It will be Raku by default.
In X::IO::Copy§
See primary documentation in context for method from.
Returns the source of the failed copy operation