<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>perlcodesample</author_name>
  <author_url>https://blog.hatena.ne.jp/perlcodesample/</author_url>
  <blog_title>Perl入門ゼミ</blog_title>
  <blog_url>https://perlcodesample.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl › 構文 › for文 要素番号を使って繰り返し処理を行うにはforを使用します。繰り返しの構文としては他にwhileとforeachがありますがforは配列の要素番号が必要な場合に使用されます。 # for for (カウンタ変数の初期化; 条件; カウンタ変数の更新) { ... } for文を使った繰り返しについては以下で詳しく解説しています。 for文、while文を使った繰り返しの処理を覚えよう サンプル 配列の要素を順番に出力するサンプルです。 # 配列の要素を順番に処理 my @nums = (3, 4, 5); for (my $i = 0; $i &lt; @nums; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080327%2F1206628887&quot; title=&quot;for文 - 要素番号を使用した繰り返し - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-27 23:41:27</published>
  <title>for文 - 要素番号を使用した繰り返し</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20080327/1206628887</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
