±¸¼º :: ³ª´©±â

CATALYST :: PLUGIN :: Configloader¿Í °°Àº ±¸¼º ·Î´õ
Áö±Ý ´Ù¿î·Îµå

±¸¼º :: ³ª´©±â ¼øÀ§ ¹× ¿ä¾à

±¤°í

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

±¸¼º :: ³ª´©±â ű×


±¸¼º :: ³ª´©±â ¼³¸í

config :: ºÐÇÒÀº catalyst :: plugin :: configloader¿Í °°Àº ±¸¼º ·Î´õ ¸ðµâÀÔ´Ï´Ù. ±âº» (¹× ÇÏÀ§) ±¸¼º ÆÄÀÏ °æ·Î¸¦ ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. Sub Config Files '°æ·Î¸¦ ¼³Á¤ÇÏ°í ±âº» ±¸¼º ¹× ÇÏÀ§ ±¸¼º¿¡ µ¿ÀÏÇÑ Ç׸ñÀÌ ÀÖÀ¸¸é ÁÖ Ç׸ñÀÌ ÇÏÀ§ ±¸¼º Data·Î µ¤¾î ¾¹´Ï´Ù. Synopsis Config :: Divide; my @config_paths = qw {/ path / to / main / config / files / path / to / sub / config / ÆÄÀÏ}; my % config_any_options = (# config :: any-> load_files # frame ... # filter => \ filter)ÀÇ ¿É¼ÇÀ» ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù); ³» $ config; $ config = config :: divide-> load_config ({config_paths => \ @config_paths, config_any_options => \ % config_any_options,}); # ¶Ç´Â $ config = config :: divide-> load_config (\ @config_paths, \ % config_any_options); Á¦Ç°ÀÇ È¨ÆäÀÌÁö


±¸¼º :: ³ª´©±â °ü·Ã ¼ÒÇÁÆ®¿þ¾î