<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masasuz</author_name>
  <author_url>https://blog.hatena.ne.jp/masasuz/</author_url>
  <blog_title>ふり返る暇なんて無いね</blog_title>
  <blog_url>https://diary.masasuzu.net/</blog_url>
  <categories>
    <anon>tech</anon>
  </categories>
  <description>問題 例えば、以下のコード、直感的には$hogeが真なら$hogeが返り、偽の場合は$fugaが返ると思いますよね? return $hoge or $fuga; 実際には以下のように解釈され、常に$hogeが返ることとなります。 (return $hoge) or $fuga; この問題5.20から警告が出るようになったので、気づけるのですが、それ以前だと見逃してる可能性があります。 まあ実際5.20使ってみてから問題があるコードを見つけたのですが。 perl5200delta - perl v5.20.0 での変更点 - perldoc.jp で、これを実際にDeparseしてみるとこんな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdiary.masasuzu.net%2Fentry%2F2018%2F08%2F10%2F090727&quot; title=&quot;Perlで気軽にorを使うと意図通りに動かないかも - ふり返る暇なんて無いね&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>2018-08-10 09:07:27</published>
  <title>Perlで気軽にorを使うと意図通りに動かないかも</title>
  <type>rich</type>
  <url>https://diary.masasuzu.net/entry/2018/08/10/090727</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
