{"provider_url":"https://hatena.blog","description":"Perl\u306binstanceof\u6f14\u7b97\u5b50\u304c\u3042\u308c\u3070\u3044\u3044\u306e\u306b\u3068\u601d\u3046\u3053\u3068\u304c\u305f\u307e\u306b\u3042\u308b\u3002 $x\u304c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\uff0c$class\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3042\u308c\u3070\u771f\u3092\u8fd4\u3059\u6f14\u7b97\u5b50\u3060\u3002 \u65e2\u5b58\u306e\u30b3\u30fc\u30c9\u3067\u306f\u306a\u304b\u306a\u304b\u4e00\u767a\u3067\u3067\u304d\u306a\u3044\u3002 $x->isa($class); # (1) ref($x) && eval{ $x->isa($class} }; # (2) Scalar::Util::blessed($x) && $x->isa($class); # (3) Params::Util::_INSTANCE($x, $class); # (4) (1)\u306f\u8981\u4ef6\u3092\u6e80\u305f\u3055\u306a\u3044 (2)\u306f\u8981\u4ef6\u3092\u6e80\u305f\u3057\u3001\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u306f\u9ad8\u901f\u3060\u304c\uff0c$x\u304cbl\u2026","provider_name":"Hatena Blog","categories":["Perl"],"version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/gfx/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20080926%2F1222403476\" title=\"instanceof\u6f14\u7b97\u5b50 - 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>","published":"2008-09-26 13:31:16","blog_title":"Islands in the byte stream (legacy)","image_url":null,"author_name":"gfx","url":"https://gfx.hatenadiary.org/entry/20080926/1222403476","blog_url":"https://gfx.hatenadiary.org/","title":"instanceof\u6f14\u7b97\u5b50","type":"rich","height":"190"}