<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>miyohide</author_name>
  <author_url>https://blog.hatena.ne.jp/miyohide/</author_url>
  <blog_title>miyohide's blog</blog_title>
  <blog_url>https://miyohide.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>サブルーチンで引数を取得するとき、@_から取得するってことを知って、喜び勇んで使ってみました。 $arg=&quot;aaa&quot;; hoge($arg); sub hoge { my $arg = @_; print $arg . &quot;\n&quot;; } これだと、&quot;aaa&quot;が表示されずに1が表示される。な、なんで〜って悩み続けること数時間。実際には、myの所に括弧が必要でした。具体的には、 $arg=&quot;aaa&quot;; hoge($arg); sub hoge { my ($arg) = @_; print $arg . &quot;\n&quot;; } ってな感じで。@_はリストなので、受け取り側もリストでないと駄目よってことかな。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmiyohide.hatenablog.com%2Fentry%2F20090602%2F1243953763&quot; title=&quot;Perlではまった - miyohide&amp;#39;s blog&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>2009-06-02 23:42:43</published>
  <title>Perlではまった</title>
  <type>rich</type>
  <url>https://miyohide.hatenablog.com/entry/20090602/1243953763</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
