<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Vieno</author_name>
  <author_url>https://blog.hatena.ne.jp/Vieno/</author_url>
  <blog_title>葡萄酒の雑記集 2.0（笑）</blog_title>
  <blog_url>https://vieno.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl6</anon>
  </categories>
  <description>この記事は、Perl6 Advent Calendar 2011の17日目です。 さて、今日はPerl6の持ち味の一つであるJunctionの紹介をしようと思います。 Introduction 少し唐突ですが、「変数iが1か2なら〜」という条件分岐、皆さんはどう書くでしょうか？たとえばPerlで素直にif文を使うと以下のようになると思います。 if ($i == 1 || $i == 2) { ... } 「$i ==」という部分が二回も出てきて美しくない、そう思いませんか。Perl6には、より簡潔で解りやすくコードを書くために、Junctionという魔法が用意されており、以下のようなコードで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvieno.hatenadiary.org%2Fentry%2F20111217%2F1324133150&quot; title=&quot;Junction - 葡萄酒の雑記集 2.0（笑）&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>2011-12-17 23:45:50</published>
  <title>Junction</title>
  <type>rich</type>
  <url>https://vieno.hatenadiary.org/entry/20111217/1324133150</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
