{"blog_url":"https://mzp.hatenadiary.org/","categories":["Perl","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"type":"rich","author_url":"https://blog.hatena.ne.jp/mzp/","width":"100%","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e753\u3002\u4e2d\u592e\u5024\u306e\u8a08\u7b97\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u3082\u3046\u3061\u3087\u3063\u3068\u8907\u96d1\u304b\u3068\u601d\u3044\u304d\u3084\u3001\u308f\u308a\u3068\u7c21\u5358\u3067\u3057\u305f\u3002\u7c21\u5358\u3060\u3063\u305f\u306e\u3067\u7279\u306b\u66f8\u304f\u3053\u3068\u304c\u306a\u3044\u3067\u3059\u3002 \u4f7f\u3044\u65b9 print mid(1,2,3),\"\\n\"; # => 2 print mid(5,3,1),\"\\n\"; # => 3 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 #! /usr/bin/perl # -*- mode:perl; coding:utf-8 -*- use strict; use warnings; use Data::Dumper; use integer; sub mid(@){ my (@xs) = @_; my @sorted = sort @_\u2026","provider_url":"https://hatena.blog","title":"\u4e2d\u592e\u5024\u306e\u8a08\u7b97","author_name":"mzp","provider_name":"Hatena Blog","height":"190","published":"2010-04-08 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100408%2Fmid\" title=\"\u4e2d\u592e\u5024\u306e\u8a08\u7b97 - \u307f\u305a\u3074\u30fc\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>","image_url":null,"blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","version":"1.0","url":"https://mzp.hatenadiary.org/entry/20100408/mid"}