http://www.perlmonks.org?node_id=686350


in reply to Interpolation in Single-quotes?

It's not interpolating anything. The normal way to get your string delimiter inside of your string is to prefix it with the \ character. So, for single quoted strings, you have two escape sequences that are understood: \\ and \'. Everything else is literal.