#!/usr/bin/perl
#
# description here
#
######################### 
# $Id: template.pl 129 2005-02-08 23:52:40Z steve $
#########################
# $Log$
# Revision 1.3  2005/02/08 23:52:40  steve
# fixed whitespace issue with version
#
# Revision 1.2  2003/01/24 17:18:42  steve
# version info bug
#
# Revision 1.1  2003/01/24 17:17:28  steve
# added
#
#########################

use strict;
use Getopt::Std;

my ($version) = '$Revision: 129 $' =~ /Revision:\s*(.+?)\s*\$/;

our ( $opt_h, $opt_V );
getopts("hV");

usage() if $opt_h;
die "$0 version: $version\n" if $opt_V;

#### end init



#### helper subs

sub usage(){
    die <<USAGE;
usage: $0 [options]
 
options:
    -h          this help
    -V          print version information

Copyright(C) 2003 Steve Pomeroy <steve\@staticfree.info>
Licensed under the GNU GPL. See documentation for complete details.
USAGE

}

__END__

=head1 NAME

template - a general template for perl utilities

=head1 SYNOPSIS

B<template> S<[ B<-h> ]> I<file> S<[ I<files> ]>

=head1 DESCRIPTION

C<template>
a very general template for a perl utilitiy

=head1 OPTIONS

=over 8

=item B<-h>

This help

=back

=head1 ENVIRONMENT

No environment variables are used.

=head1 AUTHOR

Steve Pomeroy <steve@staticfree.info>
http://staticfree.info/

=head1 LICENSE

Copyright © 2003 Steve Pomeroy <steve@staticfree.info>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA

=head1 SEE ALSO

perl(1)

=head1 BUGS

It's a template. There'd better not be any.

=cut
