<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rightgo09</author_name>
  <author_url>https://blog.hatena.ne.jp/rightgo09/</author_url>
  <blog_title>Perl日記</blog_title>
  <blog_url>https://r9.hateblo.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>2秒くらいはまったのでメモ。 これはok。 print 1 == 1 ? 'ok' : 'ng'; #=&gt; ok これもok。 print 'foo' eq 'foo' ? 'ok' : 'ng'; #=&gt; ok これはng、というか1。 print ('foo' eq 'foo') ? 'ok' : 'ng'; #=&gt; 1 1は「eq」の返却値の「true」。 なのでこれと同義。 (print 'foo' eq 'foo') ? 'ok' : 'ng'; #=&gt; 1 ちゃんとやるなら、こう。 print (('foo' eq 'foo') ? 'ok' : 'ng'); #=&gt; ok pri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fr9.hateblo.jp%2Fentry%2F20101005%2Fp1&quot; title=&quot;print()とカッコと三項演算子 - Perl日記&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>2010-10-05 00:00:00</published>
  <title>print()とカッコと三項演算子</title>
  <type>rich</type>
  <url>https://r9.hateblo.jp/entry/20101005/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
