<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
  </categories>
  <description>my $tmp = File::Temp-&gt;new(UNLINK =&gt; 0, SUFFIX =&gt; &quot;.html&quot;); print $tmp $html; my $data = do { local $/; open my $fh, &quot;&lt;&quot;, $tmp-&gt;filename; &lt;$fh&gt;; }; print $data; これが期待したように動かない。ファイルは /tmp/ 以下に残っているのだけ、なぜプログラム中から読めないんだろう。困ったなあ。HTML::Parser 依存のモジュールを使いたくて、それがファイル実体を必要とするのだけどデータは DB にはいっていてファイルを作りたくないなあ、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F20080115%2F1200385987&quot; title=&quot;File::Temp で作ったファイルをオープンできない - @kyanny&amp;#39;s blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-01-15 17:33:07</published>
  <title>File::Temp で作ったファイルをオープンできない</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/20080115/1200385987</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
