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


in reply to Perl equivalent of C-style

I'm assuming you mean multiline comments. Take a gander at Better ways to make multi-line comments in Perl? for a previous discussion of this.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'