<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>perlcodesample</author_name>
  <author_url>https://blog.hatena.ne.jp/perlcodesample/</author_url>
  <blog_title>Perl入門ゼミ</blog_title>
  <blog_url>https://perlcodesample.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl › 演算子 › here ハッシュスライスという機能を利用するとハッシュから複数の値を取り出すことができます。 my @math_score_slice = @math_scores{'Aiko', 'Kenta'}; ハッシュスライスを使うと、キーを複数指定して、値をリストとして取り出すことができる。接頭辞が$や%でなく、@であること、キー指定が、{ }であることに注意してください。ハッシュのリファレンスに対して、ハッシュスライスを行うときは次のようにできます。 my @math_score_slice = @$math_scores{'Aiko', 'Kenta'}; ハッシュス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080215%2F1203073452&quot; title=&quot;ハッシュスライス - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-02-15 20:04:12</published>
  <title>ハッシュスライス</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20080215/1203073452</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
