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


in reply to Golf: Fix de facto HTML comments

Here's what I got (63, but much clearer than blokhead's, at least to me):
substr($_,$-[1],$+[1]-$-[1])=~s/--/-\xad/g while/<!--(.*?)-->/g
Update: Sigh; I see I fell prey to the same trap blokhead did. I'll see if I can fix it.