<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirose31</author_name>
  <author_url>https://blog.hatena.ne.jp/hirose31/</author_url>
  <blog_title>（ひ）メモ</blog_title>
  <blog_url>https://hirose31.hatenablog.jp/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>DRYではない気がするけど、実行するスクリプトやモジュールにいちいち、 BEGIN { if ($ENV{SMART_COMMENTS}) { use UNIVERSAL::require; Smart::Comments-&gt;use; } }もしくは BEGIN { if ($ENV{SMART_COMMENTS}) { my @p = map { '#'x$_ } ($ENV{SMART_COMMENTS} =~ /([345])\s*/g); use UNIVERSAL::require; Smart::Comments-&gt;use(@p); } }と書いておくのはどうだろう？後者だと、デバ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirose31.hatenablog.jp%2Fentry%2F20061009%2F1160399700&quot; title=&quot; 実行時に、デバッグメッセージの表示/非表示を切り替える w/ Smart::Comments - （ひ）メモ&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>2006-10-09 22:15:00</published>
  <title> 実行時に、デバッグメッセージの表示/非表示を切り替える w/ Smart::Comments</title>
  <type>rich</type>
  <url>https://hirose31.hatenablog.jp/entry/20061009/1160399700</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
