Cache::LRU::WithExpires - can set an expiration for the Cache::LRU - metacpan.org Cache::LRU ã« expires ã®æ©è½ãã¤ããã ãã®ã¢ã¸ã¥ã¼ã«ã§ããã æåã¯ãããã¯ãã®ã³ã¼ãã§ä½¿ã£ã¦ãã¾ããããã ãã (ãããã°ãã£ã©ããï¼) ãã³ãããã¦åå©ç¨ãã¦ããã¨ãã話ãèãã¦ãã¾ãéè¦ãããªãåºããã¼ã£ã¦æãã§èãã¦ã¦ãã£ããå¿ãã¦ããã§ããæãåºããã®ã§åºãã¾ããã£ã¦ããã¹ãã¼ãªã¼ã§ãã 使ãæ¹ã¯ç°¡åã§ããªã±ãã« expires ãæå®ããã ãã§ããTime::HiRes ãã¦ããã®ã§ãããªç§ã OKã use Cache::LRU::WithExpires; my $cache = Cache::LRU::WithExpires->new; $cache->set('hirose', '31',
{{#tags}}- {{label}}
{{/tags}}