{"categories":[],"title":"List::Util - \u30ea\u30b9\u30c8\u306b\u95a2\u3059\u308b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3","provider_name":"Hatena Blog","type":"rich","image_url":null,"blog_title":"Perl\u5165\u9580\u30bc\u30df","blog_url":"https://perlcodesample.hatenadiary.jp/","height":"190","author_name":"perlcodesample","provider_url":"https://hatena.blog","url":"https://perlcodesample.hatenadiary.jp/entry/20080114/1200305034","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/perlcodesample/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080114%2F1200305034\" title=\"List::Util - \u30ea\u30b9\u30c8\u306b\u95a2\u3059\u308b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3 - Perl\u5165\u9580\u30bc\u30df\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Perl \u203a \u30e2\u30b8\u30e5\u30fc\u30eb \u203a here List::Util\u306f\u30ea\u30b9\u30c8\u3068\u914d\u5217\u306b\u5bfe\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u64cd\u4f5c\u3092\u63d0\u4f9b\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002 max\u95a2\u6570 - \u6700\u5927\u5024 \u914d\u5217\u306e\u8981\u7d20\u306e\u6700\u5927\u5024\u3092\u6c42\u3081\u308b\u306b\u306fmax\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 # List::Util use List::Util qw(max min ...); # \u6700\u5927 $max = max @array; min\u95a2\u6570 - \u6700\u5c0f\u5024 \u914d\u5217\u306e\u8981\u7d20\u306e\u6700\u5c0f\u5024\u3092\u6c42\u3081\u308b\u306b\u306fmin\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 # \u6700\u5c0f $min = min @array; sum\u95a2\u6570 - \u5408\u8a08 \u914d\u5217\u306e\u8981\u7d20\u306e\u5408\u8a08\u3092\u6c42\u3081\u308b\u306b\u306fsum\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 # \u5408\u8a08 $total = sum @array; shuffle\u2026","published":"2008-01-14 19:03:54"}