|
m%....% is a regular expression match; you'd normally see /.../ or m/.../ but we don't want to use slashes when the pattern itself contains slashes.
If there is a match, the part of the string which matched the parenthesized part of the regular expression will be in $1.
|