http://www.wall.org/~larry/syn/S05.html#return_values_from_matches
However, it has nothing on the return values of substitutions.
In perl 6 will these always return a match object? Or will it be as perl 5
and return the number of substitutions (or the empty string if none)
Nicholas Clark
Yes, and yes. The match object returns the number of substitutions
in a numeric context. If there is no match, it returns 0 in a numeric
context or undef in a string context.
Larry