{"categories":[],"provider_url":"https://hatena.blog","description":"Perl \u203a \u7279\u6b8a\u5909\u6570 \u203a here Perl\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570\u3068\u3044\u3046\u3082\u306e\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 $_ \u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570\u304c\u5229\u7528\u3055\u308c\u308b\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u6700\u521d\u306b\u898b\u3066\u307f\u307e\u3059\u3002 grep\u95a2\u6570 grep\u95a2\u6570\u306b\u6e21\u3055\u308c\u305f\u914d\u5217\u306e\u305d\u308c\u305e\u308c\u306e\u8981\u7d20\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002 my @values2 = grep { $_ eq 'cat' } @values1; \u300c$_\u300d\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570\u3067\u3042\u308a\u3001@values1\u306e\u305d\u308c\u305e\u308c\u306e\u8981\u7d20\u304c\u9806\u756a\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u82f1\u8a9e\u306e\u4ee3\u540d\u8a5e\u300cit\u300d\u3092\u8868\u73fe\u3057\u3066\u3044\u308b\u3068\u8003\u3048\u308b\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002 map\u95a2\u6570 map\u95a2\u6570\u306b\u6e21\u3055\u308c\u305f\u914d\u5217\u306e\u305d\u308c\u305e\u308c\u306e\u8981\u7d20\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002 my @valu\u2026","author_name":"perlcodesample","url":"https://perlcodesample.hatenadiary.jp/entry/20180118/1516286879","type":"rich","image_url":null,"blog_title":"Perl\u5165\u9580\u30bc\u30df","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/perlcodesample/","blog_url":"https://perlcodesample.hatenadiary.jp/","title":"\u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570 $_","height":"190","published":"2018-01-18 23:47:59","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20180118%2F1516286879\" title=\"\u30c7\u30d5\u30a9\u30eb\u30c8\u5909\u6570 $_ - 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>","version":"1.0"}