<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chaichanPaPa</author_name>
  <author_url>https://blog.hatena.ne.jp/chaichanPaPa/</author_url>
  <blog_title>旧燈明日記</blog_title>
  <blog_url>https://chaipa.hateblo.jp/</blog_url>
  <categories>
    <anon>Perlノート</anon>
  </categories>
  <description>3項演算子での「入れ子的な使い方」や「switch文的な使い方」のメモ use strict; use warnings; my ($aaa, $bbb, $ans); $aaa = &quot;AAA&quot;; $bbb = &quot;CCC&quot;; # 一般的な使い方 $ans = $aaa eq &quot;AAA&quot; ? 1 : 2; print $ans, &quot;\n&quot;; #入れ子的な使い方 $ans = $aaa eq &quot;AAA&quot; ? $bbb eq &quot;BBB&quot; ? 1 : 2 : $bbb eq &quot;CCC&quot; ? 3 : 4; print $ans, &quot;\n&quot;; #switch文的な使い方 $ans = $aaa eq &quot;A…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaipa.hateblo.jp%2Fentry%2F20080315%2F1205571827&quot; title=&quot; Perlでの3項演算子 - 旧燈明日記&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>2008-03-15 18:03:47</published>
  <title> Perlでの3項演算子</title>
  <type>rich</type>
  <url>https://chaipa.hateblo.jp/entry/20080315/1205571827</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
