<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryousanngata</author_name>
  <author_url>https://blog.hatena.ne.jp/ryousanngata/</author_url>
  <blog_title>日々量産</blog_title>
  <blog_url>https://ryozi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>2022/12/30追記: 本記事は「Perlのプロトタイプ宣言を利用してtry-catch-finally文を作る」といった記事です。コメントにある通りTry::Tinyがまさしくこれをちゃんとやっています。もし「Perlでtry-catch-finallyを行いたい」という場合は次をお読みください。ryozi.hatenadiary.jp追記ここまでサブルーチンのプロトタイプを使えば、 @nums = map { $_ * 2; } @nums; といった、変った構文を自分で作ることができます。 これを使ってJavaのtry-catch-finally文っぽいものを書いてみました。 cat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryozi.hatenadiary.jp%2Fentry%2F20111123%2F1322035746&quot; title=&quot;Perlでtry-catch-finally文 - 日々量産&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>2011-11-23 17:09:06</published>
  <title>Perlでtry-catch-finally文</title>
  <type>rich</type>
  <url>https://ryozi.hatenadiary.jp/entry/20111123/1322035746</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
