Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    );
    
    print($usage->text), exit if $opt->help;
    
  2. or download this
    $ ./877972.pl --help
    my-program [-psv] [long options...] <some-arg>
    ...
                      
        -v --verbose    print extra stuff
        --help          print usage message and exit
    
  3. or download this
    sub _validate_with {
      my (%arg) = validate(@_, {    # <-- line 442
    ...
        opts   => 1,
        usage  => 1,
      });