<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>holidays-l</author_name>
  <author_url>https://blog.hatena.ne.jp/holidays-l/</author_url>
  <blog_title>ヒルズで働く@robarioの技ログ</blog_title>
  <blog_url>https://holidays-l.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>言語的に云々という話ではなくて、複数人で開発するときにハマりそうなので（というかハマったので） 動的にパッチを当てるには # gotoするよ版 BEGIN { use UNIVERSAL::require (); if ( Foo-&gt;require ) { my $orig = Foo-&gt;can('func'); no warnings qw(redefine); *Foo::func = sub { my ($foo) = @_; # shiftしない方が楽なことが多い # pre-process... goto &amp;{$orig}; # post-processが必要な場合は記事の最後で }…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fholidays-l.hatenadiary.org%2Fentry%2F20090601%2Fp1&quot; title=&quot;動的パッチは一つのモジュールにまとめてuseした方が良いかも - ヒルズで働く@robarioの技ログ&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-06-01 00:00:00</published>
  <title>動的パッチは一つのモジュールにまとめてuseした方が良いかも</title>
  <type>rich</type>
  <url>https://holidays-l.hatenadiary.org/entry/20090601/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
