<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rdera</author_name>
  <author_url>https://blog.hatena.ne.jp/rdera/</author_url>
  <blog_title>rderaログ</blog_title>
  <blog_url>https://rdera.hatenadiary.org/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>perlは変数が数値として振る舞うこともできますし、文字列として振る舞うこともできます。 次のように変数を初期化し、数値として比較すると両方の変数は等しいです。 $a = &quot;1&quot;; $b = &quot;01&quot;; if ($a == $b) { //等しい ... } しかし、数値としてではなく、文字列として比較すると等しくありません。 if ($a eq $b) { //等しくない ... } 文字列の比較演算子としてeqを使いましたが、他にも文字列の比較演算子があります。 文字列の比較演算子 $x lt $y $xが$yより小さい less than $x gt $y $xが$yより大きい grea…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frdera.hatenadiary.org%2Fentry%2F20080822%2Fp11&quot; title=&quot;文字列として比較する - rderaログ&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-08-22 00:00:02</published>
  <title>文字列として比較する</title>
  <type>rich</type>
  <url>https://rdera.hatenadiary.org/entry/20080822/p11</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
