There is a book, "Minimal Perl", that is entirely about that usecase. I found it convincing, 15 years ago, and the only Perl I use are those terse command line snippets it teached, when others might use some combination of grep, sed and awk. I don't know if it is the best tool for the job, but it has worked for me.
I learned Perl initially for sysadmin'ing from Minimal Perl (http://www.amazon.com/Minimal-Perl-Unix-Linux-People/dp/1932...). It teach a subset of Perl necessary to use it as a more powerful replacement for awk/sed/grep/find, primarily with one-liners. By far the best bang/buck of any programming book I've ever read.
A book "Minimal Perl" used to be referred to often in these discussions but I never hear about it any more. It was teaching these kind of tricks for command line magic.