<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sfujiwara</author_name>
  <author_url>https://blog.hatena.ne.jp/sfujiwara/</author_url>
  <blog_title>酒日記 はてな支店</blog_title>
  <blog_url>https://sfujiwara.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>WWW::Mechanize がどんなリクエストを送っているのか、をログに出力してデバッグに使いたいという話。Class::Method::Modifiers を使って、LWP::UserAgent::send_request を hook してあげるとうまくいった。(WWW::Mechanize は LWP::UserAgent の子クラス) use strict; use WWW::Mechanize; use Class::Method::Modifiers; use Data::Dumper; use utf8; $Data::Dumper::Indent = 1; before &quot;L…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsfujiwara.hatenablog.com%2Fentry%2F20120411%2F1334119067&quot; title=&quot; [perl] Class::Method::Modifiers で WWW::Mechanize の送信するリクエスト内容をロギング - 酒日記 はてな支店&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>2012-04-11 13:37:47</published>
  <title> [perl] Class::Method::Modifiers で WWW::Mechanize の送信するリクエスト内容をロギング</title>
  <type>rich</type>
  <url>https://sfujiwara.hatenablog.com/entry/20120411/1334119067</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
