<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iox</author_name>
  <author_url>https://blog.hatena.ne.jp/iox/</author_url>
  <blog_title>高知ではたらくひとのブログ</blog_title>
  <blog_url>https://iox.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>ourはグローバル変数の宣言に使用される。 一般的には、以下のように使う。 use strict; use warning; our $Global; sub hoge { our $Global; # この宣言をせずにも$Globalは使えるが # このようにグローバル宣言を明示するとコードが見やすくなる } ourは、ネストとは無関係に同じグローバル変数を表す。 つまり、 our $Global = &quot;piyo&quot;; { our $Global = &quot;fuga&quot;; } #ここで$Globalを参照するとfugaが見える 次に、local。 変数に一時的な値を与えたい場合に使用する。 例えば、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiox.hatenablog.com%2Fentry%2F20070607%2F1181190980&quot; title=&quot;ourとlocal宣言 - 高知ではたらくひとのブログ&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>2007-06-07 13:36:20</published>
  <title>ourとlocal宣言</title>
  <type>rich</type>
  <url>https://iox.hatenablog.com/entry/20070607/1181190980</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
