<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gfx</author_name>
  <author_url>https://blog.hatena.ne.jp/gfx/</author_url>
  <blog_title>Islands in the byte stream (legacy)</blog_title>
  <blog_url>https://gfx.hatenadiary.org/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>Xslateが束縛(binding)をサポートし、値に名前をつけることができるようになった。ただしそれらは定数扱いであり、代入はできない。 &lt;: # constantはベアワードを要求 constant LANG = &quot;Xslate&quot;; # myは変数名を要求 my $lang = &quot;Perl&quot;; -:&gt; Hello, &lt;: LANG :&gt; world! Hello, &lt;: $lang :&gt; world!myで宣言した定数も、定数なので代入を禁止している。その代わり、コンパイル時に決定できて、かつ十分に単純な値であれば定数畳み込みの対象になる。 たとえば下記のケースでは、比較式もelse節も生…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20100608%2F1275986423&quot; title=&quot; Xslate supports binding - Islands in the byte stream (legacy)&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>2010-06-08 17:40:23</published>
  <title> Xslate supports binding</title>
  <type>rich</type>
  <url>https://gfx.hatenadiary.org/entry/20100608/1275986423</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
