<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>charsbar</author_name>
  <author_url>https://blog.hatena.ne.jp/charsbar/</author_url>
  <blog_title>Charsbar::Note</blog_title>
  <blog_url>https://charsbar.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>メソッドチェーンを使うとデバッグしづらくなるんでないか、という疑問に対するMojo的な反論。 my $instances = Mojo::Loader-&gt;new-&gt;load('Book')-&gt;build;という文があるとき、loadに失敗したらどうなるかを考えてみる。よくあるメソッドのようにload('Book')がクラスないしオブジェクトを返す場合は、ロードにこけたら次のbuildを実行するオブジェクトがないといって怒られるのがふつうだ（or die $@などで判定しやすくなるよう、undef、あるいはその他の偽になる文字列などが返ってくることが多いため）。だから、evalでくるんだり、チェ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcharsbar.hatenadiary.org%2Fentry%2F20090207%2F1234018125&quot; title=&quot; メソッドチェーンの話の続きの続き（エラー処理編） - Charsbar::Note&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-02-07 23:48:45</published>
  <title> メソッドチェーンの話の続きの続き（エラー処理編）</title>
  <type>rich</type>
  <url>https://charsbar.hatenadiary.org/entry/20090207/1234018125</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
