usenix conference policies
A New Approach to Scripting
Scripts are easy to write but hard to write well. Practicing system administrators know that they ought to check all errors and take corrective or abortive action, but such minutiae usually serve as a distraction from the real work the script is supposed to solve, making automation less attractive. Worse, loading up a script with such checks can obscure the flow of the code and lead to spaghetti-script.
It has generally been assumed that accepted programming methodologies for general programming apply to scripting as well. This talk argues that this is not necessarily the case, and will introduce Procedural Test-Oriented Scripting (PTOS), a programming methodology designed to make scripts more readable, resilient, and easier to write by encapsulating a script as a series of conditions that much be reached and steps for bringing them about. An open-source Perl module implementing this methodology, useful for both beginning and advanced system programmers, will be demonstrated.
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Trey Harris},
title = {A New Approach to Scripting },
booktitle = {18th Large Installation System Administration Conference (LISA 04)},
year = {2004},
address = { Atlanta, GA},
url = {https://www.usenix.org/conference/lisa-04/new-approach-scripting},
publisher = {USENIX Association},
month = nov
}
connect with us