![]() |
![]() |
![]() |
font help bookshelf TOC thumbnails | 1 of 10 | ![]() |
Leo : Examples Perl Utilities |
Perl is a great language for many things, but one thing it really shines at is in making small programs for system administration. There is a huge library of components for system administration that you can use from Perl, and it is easy to do a lot with a small script.
Scripts that are dashed off quickly to take care of small tasks tend not to be terribly readable and well documented, particularly in a language like Perl that has so many ways to pack a lot of functionality into a few statements. Such scripts also tend to proliferate, since often it can be faster to write a new script than find out whether a script already exists that can do the job.
This tutorial provides an example of how using Leo can solve both of these problems. One sample script is presented, but it is easy to see how adding more scripts to this example outline could result in a package that is very well documented. Addind a new script to this outline would not take much more effort than dashing off a script in a standard text editor.
1 2 3 4 5 6 7 8 9 10 |