<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>macperl</author_name>
  <author_url>https://blog.hatena.ne.jp/macperl/</author_url>
  <blog_title>備忘録。</blog_title>
  <blog_url>https://macperl.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>http://d.hatena.ne.jp/smeghead/20070129/1170068584 動的に関数やメソッドを実行する時に、 実行するメソッドの存在をチェックする方法。 # パラメータからメソッド・関数名を受け取る my $m = $q-&gt;param('m'); # $mメソッドがなければ$self-&gt;errorを実行 $self-&gt;error unless $self-&gt;can( $m ); # 存在していれば実行 $self-&gt;$m; パッケージ名-&gt;can( メソッド名 ); __PACKAGE__-&gt;can( $m ); ClassName-&gt;can( $m );canメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmacperl.hatenadiary.org%2Fentry%2F20070530%2Fp1&quot; title=&quot;メソッド・関数の存在を調べる。 - 備忘録。&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>2007-05-30 00:00:00</published>
  <title>メソッド・関数の存在を調べる。</title>
  <type>rich</type>
  <url>https://macperl.hatenadiary.org/entry/20070530/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
