<?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 › 演算子 › here 配列スライスを使うと、配列から要素番号を指定して複数の要素を取り出すことができます。 # 配列スライス my @values = @array[0, 3, 5]; 配列から要素番号が1と3の要素を取得するサンプルです。 # 複数の要素を取得 my @nums = ('a', 'b', 'c', 'd'); my @choice = @nums[1, 3]; 結果は、@numsが('a', 'b', 'c', 'd')の場合に@choiceは('b', 'd')になります。配列のリファレンスに対して配列スライスを行うには次のようにできます。 # 配列のリファレ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080216%2F1203162046&quot; title=&quot;配列スライス - 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-02-16 20:40:46</published>
  <title>配列スライス</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20080216/1203162046</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
