<?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>普通の言語（C,Java,VB等）経験者がPerlをやり始めると必ず悩む、同名のスカラー変数と配列変数です。 結論から言うと同名のスカラー変数と配列変数は、全くの別物です。 しかし、インデックス付きスカラー変数$aaa[0]で、配列変数@aaaの要素へアクセスする場合は、別物ではないのです。 では、具体的に説明します。 $aaa = &quot;xxxxx&quot;; @aaa = (&quot;11111&quot;, &quot;22222&quot;, &quot;33333&quot;); とした時に、$aaaには『xxxxx』、$aaa[0]には『11111』、$aaa[1]には、『22222』が格納されます。 つまり、$aaaと$aaa[0]は全くの別物なの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaipa.hateblo.jp%2Fentry%2F20070420%2F1177078260&quot; title=&quot; Perlで同名の$aaaと@aaaは別物か？ - 旧燈明日記&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>2007-04-20 23:11:00</published>
  <title> Perlで同名の$aaaと@aaaは別物か？</title>
  <type>rich</type>
  <url>https://chaipa.hateblo.jp/entry/20070420/1177078260</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
