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


in reply to Re: strange usage of s///
in thread strange usage of s/// [solved: Perl 5.14 and 5.16 bug]

PS: The s/@{[s".."."gr]}\K$"// solution does not work for me at all. Does it actually work for you?

Sure. This solution was accepted on anarchy golf site.

perl -e '$_="abcdef";s/@{[s".."."gr]}\K$"//;print"$_\n";' abc def
English is not my mother tongue.
Les tongues de ma mère sont "made in France".