{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20101024%2F1287908407\" title=\"Simple zcat(1) in Perl with Compress::Raw::Zlib - 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>","author_url":"https://blog.hatena.ne.jp/gfx/","blog_title":"Islands in the byte stream (legacy)","provider_name":"Hatena Blog","published":"2010-10-24 17:20:07","blog_url":"https://gfx.hatenadiary.org/","url":"https://gfx.hatenadiary.org/entry/20101024/1287908407","provider_url":"https://hatena.blog","categories":["perl"],"description":"Perl\u306ezlib\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306f\u6ca2\u5c71\u3042\u3063\u3066\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u304c\u3001\u5358\u7d14\u306b\u5727\u7e2e/\u89e3\u51cd\u3092\u3059\u308b\u3060\u3051\u306a\u3089Compress::Raw::Zlib\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u826f\u3055\u305d\u3046\u3060\u3002 \u3053\u308c\u3067zcat(1)\u3092\u5b9f\u88c5\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002 #!perl -w use strict; use Compress::Raw::Zlib; my $z = Compress::Raw::Zlib::Inflate->new( -WindowBits => WANT_GZIP, ); foreach my $file(@ARGV) { open my $fh, '<', $file or die \"Cannot open $file:\u2026","height":"190","author_name":"gfx","version":"1.0","width":"100%","title":"Simple zcat(1) in Perl with Compress::Raw::Zlib","type":"rich"}