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


in reply to Re^3: Get me excited about perl
in thread Get me excited about perl

You brought 'php' to a thread on 'Get me excited about perl'!

Only as a reply to a post which included C, C++, Java, Python and Haskell source code.

My point is that Perl is not unique in its ability to provide concise solutions to text processing problems. The PHP solution is a little longer, sure, but is arguably more readable than the Perl one (to somebody who knows both languages) due to not needing to rely on idioms like the Eskimo kiss operator.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'