From: Don Armstrong Date: Wed, 16 Oct 2013 19:19:30 +0000 (-0700) Subject: update indenting in perl script X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=8fa7a55e021030e967382eab349aebc7dc6cc51f update indenting in perl script --- diff --git a/templates/perl_script b/templates/perl_script index 736bb53..e9fdf1d 100755 --- a/templates/perl_script +++ b/templates/perl_script @@ -20,10 +20,10 @@ SCRIPTNAME - DOES_SOMETHING SCRIPTNAME [options] - Options: - --debug, -d debugging level (Default 0) - --help, -h display this help - --man, -m display manual +Options: + --debug, -d debugging level (Default 0) + --help, -h display this help + --man, -m display manual =head1 OPTIONS @@ -53,12 +53,12 @@ SCRIPTNAME use vars qw($DEBUG); my %options = (debug => 0, - help => 0, - man => 0, - ); + help => 0, + man => 0, + ); GetOptions(\%options, - 'debug|d+','help|h|?','man|m'); + 'debug|d+','help|h|?','man|m'); pod2usage() if $options{help}; pod2usage({verbose=>2}) if $options{man}; @@ -67,7 +67,7 @@ $DEBUG = $options{debug}; my @USAGE_ERRORS; if (1) { - push @USAGE_ERRORS,"You must pass something"; + push @USAGE_ERRORS,"You must pass something"; } pod2usage(join("\n",@USAGE_ERRORS)) if @USAGE_ERRORS;