<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>end0tknr</author_name>
  <author_url>https://blog.hatena.ne.jp/end0tknr/</author_url>
  <blog_title>end0tknr's kipple - web写経開発</blog_title>
  <blog_url>https://end0tknr.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>sub add_auto_increment_record { my ($self,$dbh) = @_; my $sql =&lt;&lt;EOF; insert into test_table (key, val) values (?, ?) EOF my $sth = $dbh-&gt;prepare($sql); my @vals = ('FOO','BAA'); unless($sth-&gt;execute(@vals)){ $self-&gt;error( $sth-&gt;errstr ); return undef; } return $sth-&gt;{mysql_insertid}; }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20160704%2F1467591657&quot; title=&quot;perlで mysqlのauto_incrementの値を確認するには、mysql_insertid - end0tknr&amp;#39;s kipple - web写経開発&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>2016-07-04 09:20:57</published>
  <title>perlで mysqlのauto_incrementの値を確認するには、mysql_insertid</title>
  <type>rich</type>
  <url>https://end0tknr.hateblo.jp/entry/20160704/1467591657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
