<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その428。Exception::Class - A module that allows you to declare real exception classes in Perl - metacpan.orgを使うとPerlでも例外が使えるらしいので試してみる。 使い方 # try eval{ # throw InvalidArgument-&gt;throw(&quot;some_message&quot;); }; # catch if(my $e = Exception::Class-&gt;caught('InvalidArgument')){ ... } ソースコード #! /usr/bin/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20081202%2Fexception&quot; title=&quot;Perlで例外 - みずぴー日記&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-12-02 00:00:01</published>
  <title>Perlで例外</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20081202/exception</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
