<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suztomo</author_name>
  <author_url>https://blog.hatena.ne.jp/suztomo/</author_url>
  <blog_title>suztomoのはてなダイアリー</blog_title>
  <blog_url>https://suztomo.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>はちろくチャットで「プログラミング言語のうち特定のキーワードを使ってはいけない縛りで何か書いてみようぜ」、という話題があったので数字を使わずに素数を判定す方法を書いてみた。言語はperl。宣言しただけの変数を数字として評価すると0が入っているという特徴を使ってみた。 use strict; use warnings; if (is_prime(shift)) { print &quot;this is prime&quot;; } else { print &quot;this is not prime&quot;; } sub is_prime{ my $num = shift; my $check; my $zero; $che…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuztomo.hatenadiary.org%2Fentry%2F20080918%2F1221746629&quot; title=&quot;数字を使わずに素数判定する - suztomoのはてなダイアリー&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>http://gyazo.com/912bfd395c0a0c51534c63834beacbec.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-09-18 23:03:49</published>
  <title>数字を使わずに素数判定する</title>
  <type>rich</type>
  <url>https://suztomo.hatenadiary.org/entry/20080918/1221746629</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
