<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aql</author_name>
  <author_url>https://blog.hatena.ne.jp/aql/</author_url>
  <blog_title>あくる日</blog_title>
  <blog_url>https://aql.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>Perlの場合、メソッド呼び出しの書き方が選べる。一つは my $instance = Class-&gt;new; $instance-&gt;do;のように矢印演算子を使うパターンと、 my $instance = new Class; do $instance;のようなJava的な書き方だ。TMTOWTDIを標榜するPerlらしい。出来ることは（矢印演算子だとメソッドを連続して書けると言う利点はあるが）たいして変わらないので、コーディングの時どっちを使うかは好みだと思うが、私の場合はコンストラクタはJava型、他のメソッドは矢印を使う。理由はないのだが、なぜかこのスタイルをよく見かける気がする。 m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faql.hatenablog.com%2Fentry%2F20050704%2Fp1&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>2005-07-04 00:00:00</published>
  <title> メソッド呼び出しの書き方</title>
  <type>rich</type>
  <url>https://aql.hatenablog.com/entry/20050704/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
