<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>littlebuddha</author_name>
  <author_url>https://blog.hatena.ne.jp/littlebuddha/</author_url>
  <blog_title>make world</blog_title>
  <blog_url>https://littlebuddha.hatenadiary.org/</blog_url>
  <categories>
    <anon>CPAN</anon>
    <anon>Perl</anon>
  </categories>
  <description>通常の初期設定では、WWW::Mechanize は HTTP ステータスで 400 や 404 コードが返されると、WWW::Mechanize は die を起こして処理を中断してしまう。 そのため、400 や 404 コードが返された場合の処理が記述できない。 対応方法 use WWW::Mechanize; my $mech = WWW::Mechanize-&gt;new( autochek =&gt; 0 ); $mech-&gt;get('http://www.example.com/return/404_code.html'); if ($mech-&gt;is_success) { # HTTP レ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittlebuddha.hatenadiary.org%2Fentry%2F20110621%2F1308617254&quot; title=&quot;WWW::Mechanize で HTTP ステータスによって die するのを回避する - make world&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>2011-06-21 09:47:34</published>
  <title>WWW::Mechanize で HTTP ステータスによって die するのを回避する</title>
  <type>rich</type>
  <url>https://littlebuddha.hatenadiary.org/entry/20110621/1308617254</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
