Getopt::Yagow

Yet another Getopt::Long (and Pod::Usage) wrapper
Download

Getopt::Yagow Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Enrique Castilla Contreras
  • Publisher web site:
  • http://search.cpan.org/~ecastilla/

Getopt::Yagow Tags


Getopt::Yagow Description

Yet another Getopt::Long (and Pod::Usage) wrapper Getopt::Yagow is a wrapper of Getopt::Long and Pod::Usage for parsing and management of command-line options.SYNOPSIS my $opt = Getopt::Yagow->new; $opt->load_options( 'config=s' => '', 'srcdir:s' => '', 'tardir:s' => '', # 'help' => '', # Added by default. 'css:s' => 'style.css', 'file_icon|f_icon:s' => 'c:Perlsitelib kfile.xbm', 'dir_icon|d_icon:s' => 'c:Perlsitelib kfolder.xbm' ); $o->parse_cmd_line; # or my $opt = Getopt::Yagow->new( 'config=s' => '', 'srcdir:s' => '', 'tardir:s' => '', # 'help' => '', # Added by default. 'css:s' => 'style.css', 'file_icon|f_icon:s' => 'c:Perlsitelib kfile.xbm', 'dir_icon|d_icon:s' => 'c:Perlsitelib kfolder.xbm' ); $opt->parse_cmd_line( '--config configuration.file', '--css active.css', ...); my $opt_values = $opt->get_options_values; # or more compact my $opt = Getopt::Yagow->new( ... )->parse_cmd_line( ... ); my $opt_values = $opt->get_options_values; Requirements: · Perl


Getopt::Yagow Related Software