Getopt :: Yagow

Otro Getopt :: Long (y Pod :: Usage) Wrapper
Descargar ahora

Getopt :: Yagow Clasificación y resumen

Anuncio publicitario

  • Rating:
  • Licencia:
  • Perl Artistic License
  • Precio:
  • FREE
  • Nombre del editor:
  • Enrique Castilla Contreras
  • Sitio web del editor:
  • http://search.cpan.org/~ecastilla/

Getopt :: Yagow Etiquetas


Getopt :: Yagow Descripción

Otro Getopt :: Long (y Pod :: Usage) Wrapper Getopt :: Yagow es una envoltura de Getopt :: Long y POD :: Uso para el análisis y la gestión de las opciones de línea de comandos.Synopsis My $ Opt = Getopt :: Yagow-> Nuevo; $ Opt-> Load_Options ('Config = S' => '', 'srcdir: s' => '', 'tardir: s' => '', # 'ayuda' => '', # agregado de forma predeterminada. '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; # o my $ opt = getopt :: yagow-> nuevo ('config = s' => '', 'srcdir: s' => '', 'tardir: s' => '', # 'ayuda' = >> '', # Agregado de forma predeterminada. '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 activo.css', ...); My $ Opt_Values = $ Opt-> get_options_values; # o más compacto My $ Opt = Getopt :: Yagow-> Nuevo (...) -> parse_cmd_line (...); My $ Opt_Values = $ Opt-> get_options_values; Requisitos: · Perl


Getopt :: Yagow Software relacionado