<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hakobe932</author_name>
  <author_url>https://blog.hatena.ne.jp/hakobe932/</author_url>
  <blog_title>はこべにっき ♨</blog_title>
  <blog_url>https://hakobe932.hatenablog.com/</blog_url>
  <categories>
    <anon>初めてのPerl</anon>
  </categories>
  <description>初めてのPerlシリーズ。配列をひとつひとつ処理するときに素敵な、制御構造foreachについて。foreachを使うときには、制御変数と値のリストを指定する。 @langs = qw{Ruby Python Java C/C++ Perl LISP}; foreach $lang (@langs) { print &quot;$lang\n&quot;; }この制御変数(ここでは$lang)の扱いが、結構特別。foreach文の内部では、$langはその配列の各要素を直接を指している。コピーを保持してるんじゃないのね。ためしてみると、 @nums = (1,2,3,4,5); foreach $num (@nu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhakobe932.hatenablog.com%2Fentry%2F20060421%2F1145653245&quot; title=&quot;第3章 リストと配列 その3 foreach - はこべにっき ♨&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>http://ecx.images-amazon.com/images/I/51C59GNSC3L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-04-21 06:00:45</published>
  <title>第3章 リストと配列 その3 foreach</title>
  <type>rich</type>
  <url>https://hakobe932.hatenablog.com/entry/20060421/1145653245</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
