<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>perlで、あらかじめ判定しておいた真偽値を変数に入れておいて あとでそれをif文とかで参照するのってどうやるのが一般的なんだろう my %hoge; $hoge{a} = 1; my $boola = exists $hoge{a}; # 真 my $boolb = exists $hoge{b}; # 偽 print(&quot;'$boola'\n&quot;); # '1' print(&quot;'$boolb'\n&quot;); # '' if($boola){ # ←なんかIDEが警告 Ambiguous condition を出してくる print &quot;HELLO\n&quot;; } if(!!$boola){ # ←警告は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F2021%2F06%2F28%2F123724&quot; title=&quot; 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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/42132/1577169589465165</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-28 12:37:24</published>
  <title> perlで、真偽値の戻り値</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/2021/06/28/123724</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
