Main > Programming > Libraries >

Tk::Getopt 0.49

Tk::Getopt 0.49

Sponsored Links

Tk::Getopt 0.49 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.022 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1085
Date added: 2006-11-03
Publisher: Slaven Rezic

Tk::Getopt 0.49 description

Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long.

SYNOPSIS

use Tk::Getopt;
@opttable = ([opt1, =s, default], [opt2, !, 1], ...);
$opt = new Tk::Getopt(-opttable => @opttable,
-options => %options,
-filename => "$ENV{HOME}/.options");
$opt->set_defaults; # set default values
$opt->load_options; # configuration file
$opt->get_options; # command line
$opt->process_options; # process callbacks, check restrictions ...
print $options->{opt1}, $options->{opt2} ...;
...
$top = new MainWindow;
$opt->option_editor($top);
or using a Getopt::Long-like interface
$opt = new Tk::Getopt(-getopt => [help => $HELP,
file:s => $FILE,
foo! => $FOO,
num:i => $NO,
]);
or an alternative Getopt::Long interface
%optctl = (foo => $foo,
bar => $bar);
$opt = new Tk::Getopt(-getopt => [%optctl, "foo!", "bar=s"]);

Tk::Getopt provides an interface to access command line options via Getopt::Long and editing with a graphical user interface via a Tk window.

Unlike Getopt::Long, this package uses a object oriented interface, so you have to create a new Tk::Getopt object with new. Unlike other packages in the Tk hierarchy, this package does not define a Tk widget. The graphical interface is calles by the method option_editor.

After creating an object with new, you can parse command line options by calling get_options. This method calls itself Getopt::Long::GetOptions.

Tk::Getopt 0.49 Screenshot

Advertisements

Tk::Getopt 0.49 Keywords

Bookmark Tk::Getopt 0.49

Hyperlink code:
Link for forum:

Tk::Getopt 0.49 Copyright

WareSeeker periodically updates pricing and software information of Tk::Getopt 0.49 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tk::Getopt 0.49 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Getopt::Plus is a Perl module with options wrapper with standard options, help system and more. Free Download
Getopt::OO is an object oriented command line parser. Free Download
Getopt::Helpful is an integrated option hash / help messages. Free Download
Getopt::Popt is a Perl interface to the popt(3) library. Free Download
Getopt::Fancy is an object approach to handling command line options, focusing on end user happiness. Free Download
Getopt::ExPar contains extended parameters command line parser. Free Download
Tk::Optionbox is another pop-up option-widget (with MULTI-level selections). Free Download
Getopt::Lucid is a clear, readable syntax for command line processing. Free Download