<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katsube</author_name>
  <author_url>https://blog.hatena.ne.jp/katsube/</author_url>
  <blog_title>ねこの足跡R</blog_title>
  <blog_url>https://blog.katsubemakito.net/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>配列</anon>
    <anon>とあるエンジニアの闇歴史帳</anon>
    <anon>pop</anon>
    <anon>shift</anon>
    <anon>CGI・Perl例文集</anon>
  </categories>
  <description>「Perl大技林」一覧に戻る 配列の先頭、または末尾から値を取り出すにはpop, shiftを用いれば良い。 先頭から取り出す時は「shift」、末尾から取り出す時は「pop」を用いる。注意する点としては、取り出した後その値は配列から取り除かれる(削除される)。なお配列を指定しないと「@_」が自動的に用いられる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.katsubemakito.net%2Fdokuwiki%2Fperl%2Farray_pop_shift&quot; title=&quot;配列から値を取り出す(pop,shift) - Perl - ねこの足跡R&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-05-26 08:00:32</published>
  <title>配列から値を取り出す(pop,shift) - Perl</title>
  <type>rich</type>
  <url>https://blog.katsubemakito.net/dokuwiki/perl/array_pop_shift</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
