Help for this page

Select Code to Download


  1. or download this
    # instead of this:
        if ($user_name eq "")
    ...
        return 1;
    # do this:
        return ( defined( $conf_groups->{$ln_group} ));
    
  2. 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
    
  3. or download this
    my $Usage = <<ENDUSE;
    This is a great program and I'd like to fill up your console
    ...
       blah blah
     blah
    ENDUSE