<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gfx</author_name>
  <author_url>https://blog.hatena.ne.jp/gfx/</author_url>
  <blog_title>Islands in the byte stream (legacy)</blog_title>
  <blog_url>https://gfx.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>sub { &quot;DUMMY&quot; } にウンザリして，しばらく前から Data::Dumper に以下のようなパッチを当てている。これで，コードリファレンスが与えられたときにその名前を出力するようになる。Deparse よりも簡潔でいい。無名関数に対してはあまり効果がないが，&amp;foo::__ANON__ だってパッケージの情報がある分 sub{ &quot;DUMMY&quot;} よりはマシだ。To Dumper.pm: --- a/Dumper.pm~ +++ b/Dumper.pm @@ -456,7 +456,10 @@ sub _dump { $sub =~ s/\n/$pad/gse; $out .= $s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20091009%2F1255073704&quot; title=&quot;A patch for Data::Dumper to display the subroutine name, instead of sub { &amp;quot;DUMMY&amp;quot; } - Islands in the byte stream (legacy)&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>2009-10-09 16:35:04</published>
  <title>A patch for Data::Dumper to display the subroutine name, instead of sub { &quot;DUMMY&quot; }</title>
  <type>rich</type>
  <url>https://gfx.hatenadiary.org/entry/20091009/1255073704</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
