<?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::Attributeを実際に使ってみる一例としてMethod::Cumulativeというモジュールを書いた。Damian Conway氏のClass::Stdにある:CUMULATIVEと同じ累積メソッドを作るためのアトリビュートを提供する。 なお，Class::Stdではさまざまなアトリビュートを提供しているのだが，サブルーチンアトリビュートの信頼性に関する問題を解決するため，new()メソッドの中で処理キューを毎回チェックするという方法をとっている。確かに，この方法でも信頼性は確保できる。しかし，パフォーマンスは非常に悪い。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20090516%2F1242464461&quot; title=&quot;Cumulative methods using Sub::Attribute - 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-05-16 18:01:01</published>
  <title>Cumulative methods using Sub::Attribute</title>
  <type>rich</type>
  <url>https://gfx.hatenadiary.org/entry/20090516/1242464461</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
