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


in reply to What does $_ = qq~"$_"~ do?

qq is the generic double quoting operator. It's "" with using different delimiters. So the line $_ = qq~"$_"~; encloses whatever text is in $_ with double quotes. It's the same as $_ = "\"$_\""; without having to escape the " characters.