<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naoya</author_name>
  <author_url>https://blog.hatena.ne.jp/naoya/</author_url>
  <blog_title>naoyaのはてなダイアリー</blog_title>
  <blog_url>https://naoya-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Perl の言語組み込みのリスト操作は関数形式で、push(@array, 1, 2) のような記述になります。一つのリストに対して複数の操作をしたい場合などは、関数呼び出しを複数行にわたって書いていくことになり、少々面倒です。しかし Perl は、Perl のリスト実装である配列のリファレンスに bless してメソッドを定義したクラスを作ることができます。この独自に定義したクラスにプリミティブな操作を加えていって、Ruby のように連続したメソッドの呼び出しによるリスト操作を実現することが可能です。ここでは List::RubyLike という配列クラスを作成します。まずは手始めに配列に …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoya-2.hatenadiary.org%2Fentry%2F20080419%2F1208579525&quot; title=&quot; Perl のリスト操作を Ruby 風に - naoyaのはてなダイアリー&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/naoya/20080419/20080419132329.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-04-19 13:32:05</published>
  <title> Perl のリスト操作を Ruby 風に</title>
  <type>rich</type>
  <url>https://naoya-2.hatenadiary.org/entry/20080419/1208579525</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
