<?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>モジュールがエクスポートする関数を集めたい、と思うことがある*1。 すべてのモジュールがExporterを使っているなら、 @EXPORT_OK を見るだけでいいのだが、実際にはそうはいかない。しかたがないので、一旦他のパッケージにエクスポートし、その後コードリファレンスを回収する、という手法を取るほかない。このとき、同じパッケージを再利用できるように、処理が終わったらパッケージをクリアするのがベストプラクティスであろう。立つ鳥跡を濁さず、というやつだ。 以前のXslate::Utilでは一般的に使えるimport_form()を定義していたので、ここにコードを張っておく。今はXslate特有…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20100614%2F1276497354&quot; title=&quot; How to collect exportable functions - 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>2010-06-14 15:35:54</published>
  <title> How to collect exportable functions</title>
  <type>rich</type>
  <url>https://gfx.hatenadiary.org/entry/20100614/1276497354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
