https://metacpan.org/release/Const-Common ããã¸ã§ã¯ãå ±éã®å®æ°å®ç¾©ã¯ã©ã¹ãä½ã£ããããã¨ãã«ãåã«use constantã ã¨ä»¥ä¸ã®æ§ãªä¸æºç¹ããã£ãã use MyApp::Const;ã¨ããã¦ãå®æ°ãExportãã¦ãããªãã®ã§ãMyApp::Const::CONST_HOGEã¨ãããã®ãã¿ã«ããExportã®è¨å®ãæ¸ãã®ãã¿ã«ã use constant CONST_HASH => +{BAR => 'BAZ'};ã¨ãã§ãããã©ãCONST_HASH->{BAR} = 'OVERWRITE'ã¨ãã§ãã¦ãã¾ã ãã®è¾ºã¯åããã¸ã§ã¯ãã§åå¥ã«è§£æ±ºãã¦ããã®ã ããããå æ¸å ±éåããããªã£ã¦æ¸ããã以ä¸ã®æ§ãªæãã§ä½¿ãã package MyApp::Const; use Const::Common ( BAR => 'BAZ', HASH =>
{{#tags}}- {{label}}
{{/tags}}