{"published":"2009-10-14 12:07:49","author_url":"https://blog.hatena.ne.jp/gfx/","url":"https://gfx.hatenadiary.org/entry/20091014/1255489669","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20091014%2F1255489669\" title=\"with Enumerable - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://gfx.hatenadiary.org/","categories":[],"image_url":null,"blog_title":"Islands in the byte stream (legacy)","provider_url":"https://hatena.blog","title":"with Enumerable","height":"190","width":"100%","type":"rich","author_name":"gfx","description":"Ruby\u30e9\u30a4\u30af\u306aEnumerable role\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002 http://github.com/gfx/Perl-Enumerable git clone git://github.com/gfx/Perl-Enumerable.git #!perl package IO::Enumerable; use Any::Moose; # requires Mouse 0.39 with 'Enumerable'; has handle => ( is => 'rw', isa => 'FileHandle', ); sub each{ my($self, $block) = @_; my $ha\u2026","version":"1.0","provider_name":"Hatena Blog"}