Watch out for portability, too. Personally I would consider it a last resort exclusively for local system automation too complex for bash but for some reason python isn't available. I'm not going to pretend I understand everyone else's use case though so I'm glad it exists.
Author here: This was indeed a quick hack. And Perl is still my fastest language for banging out a quick prototype. (I used to be the Perl 5 project lead. I’ve spent a lot of time with Perl.)