<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>In bash, I head every script with:<br><br>&nbsp;&nbsp;&nbsp; #!/bin/bash -eux<br><br>when I first write it.<br><br>&nbsp;&nbsp;&nbsp; 'e' says "quit if you encounter an unhandled (e)rror"<br>&nbsp;&nbsp;&nbsp; 'u' says "quit if you encounter the use of an (u)nset variable"<br>&nbsp;&nbsp;&nbsp; 'x' says "output e(x)tra information (shows every command before it runs)"<br><br>In perl, I head every file with:<br><br>&nbsp;&nbsp;&nbsp; #!/usr/bin/perl -w<br>&nbsp;&nbsp;&nbsp; use strict;<br><br>Are there any other uber-careful, uber-verbose switches to perl, like those I use for bash?<br><br><span>--<br>David L. Willson<br>Trainer, Engineer, Enthusiast<br>RHCE Network+ A+ Linux+ LPIC-1 Ubuntu<br>Mobile 720-333-LANS(5267)<br><br>This is a good time for a r3volution.<span name="x"></span><br></span><br></div></body></html>