IMO, Perl is perfect for this purpose. A good thing about Perl is, it doesn't really changed any more. So no need to spend time keeping up with latest developments like Ruby or Rust.
it does change, it just has outstanding backward compatibility and new feature (including parser-level) opt-in per module.