<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bingo_nakanishi_perl</author_name>
  <author_url>https://blog.hatena.ne.jp/bingo_nakanishi_perl/</author_url>
  <blog_title>bingo_nakanishiの他言語出身者のためのPerl入門</blog_title>
  <blog_url>https://bingo-nakanishi-perl.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>YAPCが始まりましたね。 去年は参加したのですが（聴衆の方ですが）、今年は非常にとてつもなく残念な事に参加できません。 でも気分だけでもひたりたいのでPerlのお話を少々。 Rubyに備わったブロックという概念 Rubyは言語自体に高階関数をブロックという形でもっており、 eachなどで使われているのは有名です。 例： array = [1,3,5,9] array.each{|i| puts i} eachに与えている { }の部分がブロックです。 自前でブロックを受け取る関数を作りたければ yield を使えばよいでしょう。 今回のお話の内容は「Perlでもブロックを渡せる」ということな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbingo-nakanishi-perl.hatenadiary.org%2Fentry%2F20090910%2F1252525579&quot; title=&quot;第140回 ブロックを渡せるのはRubyだけじゃない!　Perlだって渡せるんだ！ - bingo_nakanishiの他言語出身者のための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>https://images-fe.ssl-images-amazon.com/images/I/51EK7E5K5FL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-09-10 04:46:19</published>
  <title>第140回 ブロックを渡せるのはRubyだけじゃない!　Perlだって渡せるんだ！</title>
  <type>rich</type>
  <url>https://bingo-nakanishi-perl.hatenadiary.org/entry/20090910/1252525579</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
