<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dayflower</author_name>
  <author_url>https://blog.hatena.ne.jp/dayflower/</author_url>
  <blog_title>daily dayflower</blog_title>
  <blog_url>https://dayflower.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
    <anon>memo</anon>
  </categories>
  <description>ことの理由と出典をいつも忘れてしまうので，メモメモ。 if ($obj-&gt;isa('Huga')) { ...... } みたいなコードはよく使うんですが，$obj が bless されたオブジェクト（か，クラス名の文字列スカラー）じゃないとエラーを吐くので，一時期，以下のように書いてました。 if (UNIVERSAL::isa($obj, 'Huga')) { ...... } でもそれはイカーン，とどこかで読んだような気がして探してたら，「続・初めてのPerl 改訂版」の「14.2 オブジェクトの動作に関するテスト（pp.186-188）」に書いてありました。 しかし，これではオブジェク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20070612%2F1181617308&quot; title=&quot; UNIVERSAL::isa($hoge, &amp;#39;Huga&amp;#39;) を使うべきではない - daily dayflower&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51PBFWZSTBL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-06-12 12:01:48</published>
  <title> UNIVERSAL::isa($hoge, 'Huga') を使うべきではない</title>
  <type>rich</type>
  <url>https://dayflower.hatenablog.com/entry/20070612/1181617308</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
