<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiront_at_nagoya</author_name>
  <author_url>https://blog.hatena.ne.jp/hiront_at_nagoya/</author_url>
  <blog_title>とりあえずメモメモ。</blog_title>
  <blog_url>https://hiront-at-nagoya.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>perlでは、オブジェクトの生成の書式が二通りあります。 my $foo = Local::Foo-&gt;new; my $foo = new Local::Foo; 通常、どちらでもオブジェクトは作れますが、後者には、サブルーチンの呼び出しとしても解釈できる曖昧さを含んでいます。例えば、次のようなプログラムの場合、期待通りには動いてくれません。 use strict; use warnings; my $bar = new Local::Bar(); my $foo = $bar-&gt;create; exit; package Local::Bar; sub new { print &quot;Local:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiront-at-nagoya.hatenadiary.org%2Fentry%2F20081124%2F1227503623&quot; title=&quot;new Foo の構文を使わない理由 - とりあえずメモメモ。&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-11-24 14:13:43</published>
  <title>new Foo の構文を使わない理由</title>
  <type>rich</type>
  <url>https://hiront-at-nagoya.hatenadiary.org/entry/20081124/1227503623</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
