http://habrahabr.ru/blogs/perl/70610/#habracut interesting article explaining some details about perl “one-liners”