<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>miki_bene</author_name>
  <author_url>https://blog.hatena.ne.jp/miki_bene/</author_url>
  <blog_title>ドキュメントを見たほうが早い</blog_title>
  <blog_url>https://benevolent0505.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>僕は知らなかったです。 Perlで遭遇 次のようなPerlのコードを読んでいるときに思ってなかった挙動をした。 my $x = ('a', 'b'); $x # =&gt; ?? 始め以下のような想定をして $x には 'a' が入るのだと思っていた。 左辺がスカラコンテキストなので、右辺もスカラコンテキストになる 配列の区切りの最初の値が入り $x には 'a' が入る 'b' はどの変数にも入らず捨てられる しかし実行してみると $x には 'b' が入る。 my $x = ('a', 'b'); $x # =&gt; 'b' これはどういうことかと思い調べてみると、どうやらコンマ演算子というものがあ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbenevolent0505.hatenablog.com%2Fentry%2F2019%2F12%2F23%2F205243&quot; title=&quot;君はあのコンマ演算子を知っているか？ - ドキュメントを見たほうが早い&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>2019-12-23 20:52:43</published>
  <title>君はあのコンマ演算子を知っているか？</title>
  <type>rich</type>
  <url>https://benevolent0505.hatenablog.com/entry/2019/12/23/205243</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
