{"type":"rich","provider_url":"https://hatena.blog","height":"190","categories":["PerlDev"],"blog_url":"https://d4-1977.hatenablog.com/","provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fd4-1977.hatenablog.com%2Fentry%2F20050924%2F1127539101\" title=\" 2\u3064\u306e\u914d\u5217\u304b\u3089\u91cd\u8907\u3057\u306a\u3044\u5024\u3092\u53d6\u308a\u51fa\u3059 - \u3081\u3082\u5e16\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"d4-1977","title":" 2\u3064\u306e\u914d\u5217\u304b\u3089\u91cd\u8907\u3057\u306a\u3044\u5024\u3092\u53d6\u308a\u51fa\u3059","author_url":"https://blog.hatena.ne.jp/d4-1977/","image_url":null,"description":"2\u3064\u306e\u914d\u5217\u304b\u3089\u91cd\u8907\u3057\u306a\u3044\u5024\u3092\u53d6\u308a\u51fa\u3059\u3002 my @temp; my @temp1 = (1,2,3,4); #\u7bc4\u56f2 my @temp2 = (1,3,4); #\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5024 my $max = @temp2;foreach my $temp1( @temp1 ){ my $count = 0; foreach my $temp2 ( @temp2 ){ if( $temp1 ne $temp2 ){ $count++; } } if( $count == $max ){ push @temp, $temp1; } } \u3044\u307e\u3044\u3061\u3001\u6ce5\u81ed\u3044\u6c17\u304c\u3059\u308b\u3093\u3060\u3051\u308c\u3069\u3002\u3046\u301c\u3093\u3002 \u8ffd\u8a18 \u4e00\u5fdc\u3001\u7b54\u3048\u307f\u305f\u3044\u306a\u306e\u304c\u2026","url":"https://d4-1977.hatenablog.com/entry/20050924/1127539101","published":"2005-09-24 14:18:21","version":"1.0","blog_title":"\u3081\u3082\u5e16"}