<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiboma</author_name>
  <author_url>https://blog.hatena.ne.jp/hiboma/</author_url>
  <blog_title>hibomaの日記</blog_title>
  <blog_url>https://hiboma.hatenadiary.jp/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>こんな配列があったとして my @array = qw/hiroya naoya tatuya cinamon hoge hage/;配列各要素に何らかの処理をするとする。で、例えば先頭から３つの要素だけで処理を終わらせたいってときは for文やらwhileでカウンターを回して処理する方法しかないのかなぁと思てったら map { print &quot;$_¥n&quot; } splice(@array , 0 , 3); #ouput hiroya naoya tatuya mapとspliceで切り取る方法があった。すっきりしてていいかも。spliceの三つ目の引数に配列から切り取りたい要素の個数を指定。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiboma.hatenadiary.jp%2Fentry%2F20060725%2F1153791739&quot; title=&quot;splice - hibomaの日記&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>2006-07-25 10:42:19</published>
  <title>splice</title>
  <type>rich</type>
  <url>https://hiboma.hatenadiary.jp/entry/20060725/1153791739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
