Getopt :: Yagow.

¾ÆÁ÷ ¶Ç ´Ù¸¥ getopt :: long (¹× pod :: »ç¿ë¹ý) ·¡ÆÛ
Áö±Ý ´Ù¿î·Îµå

Getopt :: Yagow. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Enrique Castilla Contreras
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~ecastilla/

Getopt :: Yagow. ű×


Getopt :: Yagow. ¼³¸í

±×·¯³ª ¶Ç ´Ù¸¥ getopt :: long (¹× pod :: »ç¿ë¹ý) ·¡ÆÛ getopt :: Yagow´Â GetOpt :: Long and Pod :: ¸í·É ÁÙ ¿É¼ÇÀÇ ±¸¹® ºÐ¼® ¹× °ü¸®¸¦À§ÇÑ »ç¿ë¹ýÀÔ´Ï´Ù. Synopsis My $ Opt = GetOpt :: Yagow-> New; $ opt-> load_options ( 'config = s'=> ','srcdir : s '=>' ','tardir : s '=>' ''help '=>' ', ±âº»ÀûÀ¸·Î Ãß°¡µË´Ï´Ù. '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; # ¶Ç´Â ³» $ opt = getopt :: yagow-> new ( 'config = s'=> ''srcdir : s '=>', 'tardir : s'=> ''µµ¿ò¸» '=> ''±âº»ÀûÀ¸·Î Ãß°¡µÇ¾ú½À´Ï´Ù. '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', ...); ³» $ OPT_VALUES = $ opt-> get_options_values; # ¶Ç´Â ±× ÀÌ»óÀÇ Compact My $ OPT = GETOPT :: YAGOW-> NEW (...) -> PARSE_CMD_LINE (...); ³» $ OPT_VALUES = $ opt-> get_options_values; ¿ä±¸ »çÇ× : ¡¤ Perl.


Getopt :: Yagow. °ü·Ã ¼ÒÇÁÆ®¿þ¾î