The idea of having more than a few thousand lines of Perl in your code base sends shivers up my spine! Although very expressive and powerful, the syntax subtleties make it extremely terse. That said I do have a three thousand line Perl script that I use to configure a Linux server from scratch. All I do is drop the scripts on a new install, set the host name to one in the configuration, and It sets up all the system configuration for hosts, DNS, mail, required packages, and several other application configurations. In this case Perl made sense since it is in the base package set for Linux and definitely a nice step up from bash shell scripts. I have been adding to this script for over a decade, but have been writing any new functionality in Python.
© Enraspan Inc. 1998-2024, All Rights Reserved