<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kulamochi</author_name>
  <author_url>https://blog.hatena.ne.jp/kulamochi/</author_url>
  <blog_title>Scrapdiary</blog_title>
  <blog_url>https://kulamochi.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>学ぶ</anon>
  </categories>
  <description>昨日に引続きPerl。あのままでは年またぎでうまく比較できないので、ちょっと考え方を変えてみた。 未来の日付は基本あり得ない（想定しないもの）とする もし未来の日付だったら過去と見なし、YYYYを一年前の値を再セット その上で本日と比較して差分をみる という方向性で改修してみる。DateSimple2.pl #!/usr/bin/perl use strict; use warnings; use Date::Simple qw(date today); my $input_date = $ARGV[0] or die(&quot;No parameter!\n&quot;); my $today = today…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkulamochi.hatenablog.com%2Fentry%2F20090605%2F1244219032&quot; title=&quot;ロジカルに考えるとはこういうことか - Scrapdiary&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>2009-06-05 01:23:52</published>
  <title>ロジカルに考えるとはこういうことか</title>
  <type>rich</type>
  <url>https://kulamochi.hatenablog.com/entry/20090605/1244219032</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
