åç½®ã ããã«ã¡ã¯ãcho45 ã§ããã¿ãªãããæèã¯é«ã¾ã£ã¦ãã¾ããï¼ åã¯ä¸ã ã§ããä»åã¯æä½ã® Config::ENV ã¨ããã¢ã¸ã¥ã¼ã«ãç´¹ä»ããã¦é ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³éçºãããã¨ããéçºç¨ã»ãã¹ãç¨ã»æ¬çªç¨ã§ãè¨å®ãå¤ãããããã§ããããã ãããã®ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã§ã¯ãç°å¢å¤æ°ã«ããå¤ãè¨å®ãããã¨ã§ãè¤æ°ã®è¨å®ãä¸æ¬ã§åæ¿ãããããããªæ©è½ãæä¾ãã¦ããã¨æãã¾ããConfig::ENV ã¯ããã®æ©è½ã1ã¤ã®ã¢ã¸ã¥ã¼ã«ã¨ãããã®ã§ãã Config ã¢ã¸ã¥ã¼ã«ãæ¸ã ã¨ããããç°¡åãªä½¿ãæ¹ãç´¹ä»ãã¾ããã¾ãã¯ä»¥ä¸ã®ããã«è¨å®ãä¿æããã¢ã¸ã¥ã¼ã« (MyApp::Config) ãä½ãã¾ãã package MyApp::Config; use Config::ENV 'PLACK_ENV'; # (1) common +{ # (2) api_key
{{#tags}}- {{label}}
{{/tags}}