[clue] perl again
David L. Willson
DLWillson at TheGeek.NU
Wed Apr 25 16:20:31 MDT 2012
In bash, I head every script with:
#!/bin/bash -eux
when I first write it.
'e' says "quit if you encounter an unhandled (e)rror"
'u' says "quit if you encounter the use of an (u)nset variable"
'x' says "output e(x)tra information (shows every command before it runs)"
In perl, I head every file with:
#!/usr/bin/perl -w
use strict;
Are there any other uber-careful, uber-verbose switches to perl, like those I use for bash?
--
David L. Willson
Trainer, Engineer, Enthusiast
RHCE Network+ A+ Linux+ LPIC-1 Ubuntu
Mobile 720-333-LANS(5267)
This is a good time for a r3volution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20120425/cbb4ab85/attachment.html
More information about the clue
mailing list