- or download this
# instead of this:
if ($user_name eq "")
...
return 1;
# do this:
return ( defined( $conf_groups->{$ln_group} ));
- or download this
for my $opt ( qw/user_name password input_file/ ) {
next if ( $opthash{$opt} );
...
die "You really should have typed something for $opt\n"
unless ( $opthash{$opt} );
} # this input mechanism only needs to be written once
- or download this
my $Usage = <<ENDUSE;
This is a great program and I'd like to fill up your console
...
blah blah
blah
ENDUSE