Linux SoftwareProgrammingLibrariesGetopt::GUI::Long 0.7

Getopt::GUI::Long 0.7


Getopt::GUI::Long is a wrapper around Getopt::Long that extends the value of the original Getopt::Long module. SYNOPSIS use G
Developer:   Wes Hardaker
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   11K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Getopt::GUI::Long is a wrapper around Getopt::Long that extends the value of the original Getopt::Long module.

SYNOPSIS

use Getopt::GUI::Long;

# pass useful config options to Configure
Getopt::GUI::Long::Configure(qw(display_help no_ignore_case capture_output));
GetOptions(%opts,
["GUI:separator", "Important Flags:"],
["f|some-flag=s", "A flag based on a string"],
["o|other-flag", "A boloean"],
);

# or use references instead of a hash (less tested, however):

GetOptions(["some-flag=s", "perform some flag based on a value"] => $flag,
["other-flag=s", "perform some flag based on a value"] => $other);

# displays auto-help given the input above:

% opttest -h
Usage: opttest [OPTIONS] Other Arguments

OPTIONS:

Important Flags:
-f STRING A flag based on a string
-o A boloean

Help Options:
-h Display help options -- short flags preferred
--help Display help options -- long flags preferred
--help-full Display all help options -- short and long



# or long help:

% opttest --help
Usage: opttest [OPTIONS] Other Arguments

OPTIONS:

Important Flags:
--some-flag=STRING A flag based on a string
--other-flag A boloean

Help Options:
-h Display help options -- short flags preferred
--help Display help options -- long flags preferred
--help-full Display all help options -- short and long

# or a GUI screen:

(see http://net-policy.sourceforge.net/images/getopt_example.png )

It can:

1) add a simple graphical user interface option screen if no arguments are passed to the program. Thus, the arguments to actually use are built based on the results of the user interface. If arguments were passed to the program, the user interface is not shown and the program executes as it normally would and acts just as if Getopt::Long::GetOptions had been called instead.

2) provide an auto-help mechanism such that -h and --help are handled automatically. In fact, calling your program with -h will default to showing the user a list of short-style arguments when one exists for the option. Similarly --help will show the user a list of long-style when possible. --help-full will list all potential arguments for an option (short and long both).

It's designed to make the creation of graphical shells trivial without the programmer having to think about it much as well as providing automatic good-looking usage output without the programmer needing to write usage() functions.

Requirements:
  • Perl
    tags help options  flag based  display help  the user  preferred help  flags preferred  options short  some flag  help full  gui long  short and  and long  getopt long  

    Download Getopt::GUI::Long 0.7


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/H/HA/HARDAKER/Getopt-GUI-Long-0.7.tar.gz


    Authors software

    Similar software

    Getopt::GUI::Long 0.7 (by Wes Hardaker)
    Getopt::GUI::Long is a wrapper around Getopt::Long that extends the value of the original Getopt::Long module.

    SYNOPSIS

    use G

    Getopt::Long 2.35 (by Johan Vromans)
    Getopt::Long is an extended processing of command line options.

    SYNOPSIS

    use Getopt::Long;
    my $data = "file.dat";
    my

    Getopt::OO 0.07 (by Steven Smith)
    Getopt::OO is an object oriented command line parser

    Tk::Getopt 0.49 (by Slaven Rezic)
    Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long.

    SYNOPSIS

    use Tk::Getopt;
    @opttable =

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    Getopt::Tabular 0.3 (by Greg Ward)
    Getopt::Tabular is a Perl module for table-driven argument parsing for Perl 5.

    SYNOPSIS

    use Getopt::Tabular;
    (or)
    use

    Getopt::Simple 1.48 (by Ron Savage)
    Getopt::Simple is a Perl module that provides a simple wrapper around Getopt::Long.

    SYNOPSIS

    use Getopt::Simple;

    Flagedit 0.0.7 (by dams)
    Flagedit is a CLI USE flags and package keywords editor for Gentoo Linux

    clig 1.9.11.1 (by Harald Kirsch)
    clig is a command line interpreter generator

    Getopt::Fancy 0.02 (by Robert Powers)
    Getopt::Fancy is an object approach to handling command line options, focusing on end user happiness.

    SYNOPSIS

    use Getopt::


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags