{"published":"2012-05-01 00:00:00","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/iww/","title":"Debian\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u51fa\u529b","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","author_name":"iww","provider_name":"Hatena Blog","description":"\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30c4\u30ea\u30fc\u3063\u307d\u304f\u8868\u793a\u3059\u308b #!/usr/bin/perl use strict; use warnings; our %pkg; sub printdepend { my $pname = $_[0]; my $depth = $_[1]; if( !exists($pkg{$pname}) ){ $pkg{$pname} = $depth; print ' ' x $depth . \"$pname\\n\"; if( open( my $fh, \"apt-cache show $pname |\") ){ while(<$fh>){ my $s = \"\"; $s =\u2026","height":"190","blog_url":"https://iww.hateblo.jp/","categories":["Linux","perl"],"type":"rich","image_url":null,"width":"100%","url":"https://iww.hateblo.jp/entry/20120501/aptcacheshow","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20120501%2Faptcacheshow\" title=\"Debian\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u51fa\u529b - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}