in reply to Re^2: Match/Replace/Interpolate
in thread Match/Replace/Interpolate

The ! are used as alternative delimiters, because you use / within the regular expression. This makes it easy to avoid the escaping of slashes. Instead of \/, I now can write / as it will not be recognized as the regex delimiter anymore.

perlop has the section on Regexp Quote-like Operators which explains how this works.