{"published":"2016-04-16 15:08:58","blog_url":"https://sironekotoro.hateblo.jp/","provider_name":"Hatena Blog","author_name":"sironekotoro","provider_url":"https://hatena.blog","width":"100%","title":"\u3059\u3050\u308f\u304b\u308b \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411 Perl \u7b2c\uff16\u7ae0 \u3001\u7b2c\uff17\u7ae0","description":"\u7b2c\uff16\u7ae0 \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u53d6\u308a\u8fbc\u3080require \u306a\u308b\u307b\u3069 \u30ea\u30b9\u30c8\u306e\u8981\u7d20\u3067\u3042\u308b\u3001\u6570\u5b57\u306e\u91cd\u8907\u3092\u6392\u9664\u3059\u308b\u3001\u3068\u3044\u3046\u30b5\u30d6\u30eb\u30fc\u30c1\u30f3 uniq my @arr = ( 5, 4, 7, 4, 5, 7, 4, 3 ); sub uniq { my @in = @_; my %out = (); foreach my $in (@in) { $out{$in} = 1; } my @return = keys %out; } print uniq(@arr); #4375 \u914d\u5217\u3092\u30cf\u30c3\u30b7\u30e5\u306e key \u306b\u3057\u3066\u3001\u305d\u306e\u5024\u306b\u56fa\u5b9a\u5024\u30671\u3092\u5165\u529b\u3059\u308b\u3002 \u3088\u304f\u3042\u308b \u3067\u3082\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b66\u3076\u524d\u3060\u3068\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u3068\u601d\u3046\u3002 \u6e96\u5099\u3055\u308c\u305f u\u2026","height":"190","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsironekotoro.hateblo.jp%2Fentry%2F2016%2F04%2F16%2F150858\" title=\"\u3059\u3050\u308f\u304b\u308b \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411 Perl \u7b2c\uff16\u7ae0 \u3001\u7b2c\uff17\u7ae0 - sironekotoro\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":[],"url":"https://sironekotoro.hateblo.jp/entry/2016/04/16/150858","type":"rich","blog_title":"sironekotoro\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/sironekotoro/"}