<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>midori_kasugano</author_name>
  <author_url>https://blog.hatena.ne.jp/midori_kasugano/</author_url>
  <blog_title>WEB開発初心者の成長記録</blog_title>
  <blog_url>https://midori-kasugano.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>#! /usr/bin/perl use strict; use warnings; my $x = 5; my $y = 14; if ($x &gt;= $y){ print &quot;$x &gt;= $y\n&quot;; }else{ print &quot;$x &lt; $y\n&quot;; } #5の方が14より大きいと判定される。文字列として比較されているため。 #ge = greater than or equal to if ($x ge $y){ print &quot;$x ge $y\n&quot;; }else{ print &quot;$x lt $y\n&quot;; } 人間の私からしたら、「1,2,3…」は数字で、文字列とは「あいうえお…」をのこと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmidori-kasugano.hatenadiary.org%2Fentry%2F20090615%2F1245063609&quot; title=&quot;【perl】数での比較と文字列での比較(例：5と14を文字列として比較するとどちらが大きいか) - 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>2009-06-15 20:00:09</published>
  <title>【perl】数での比較と文字列での比較(例：5と14を文字列として比較するとどちらが大きいか)</title>
  <type>rich</type>
  <url>https://midori-kasugano.hatenadiary.org/entry/20090615/1245063609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
