<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t_kyt</author_name>
  <author_url>https://blog.hatena.ne.jp/t_kyt/</author_url>
  <blog_title>角待ちは対空</blog_title>
  <blog_url>https://blog.yux3.net/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>Tech</anon>
  </categories>
  <description>Devel::Peek::Dump なんかは結果が標準エラー出力に表示されるだけなのでコード内で結果を使いたいと思うと標準エラー出力の出力先を変数へ書き換え、その後復元させてやる必要がある。 use strict; use warnings; use utf8; my $stderr; open my $temp, '&gt;&amp;', STDERR; close STDERR; open STDERR, '&gt;', \$stderr; warn &quot;hoge&quot;; close STDERR; open STDERR, '&gt;&amp;', $temp; close $temp; print $stderr; # ”h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.yux3.net%2Fentry%2F2017%2F03%2F18%2F213315&quot; title=&quot;標準出力（標準エラー出力）の内容を一時的に Perl 変数に書き込みたい - 角待ちは対空&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://cdn.mogile.archive.st-hatena.com/v1/image/t_kyt/297794657810851303.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-03-18 21:33:15</published>
  <title>標準出力（標準エラー出力）の内容を一時的に Perl 変数に書き込みたい</title>
  <type>rich</type>
  <url>https://blog.yux3.net/entry/2017/03/18/213315</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
