<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymko</author_name>
  <author_url>https://blog.hatena.ne.jp/ymko/</author_url>
  <blog_title>ymkoの日記</blog_title>
  <blog_url>https://ymko.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>whileで無限ループなものを書くのならいっそデーモンにしてしまえということで Proc::Daemonというのがいいらしい perldoc perlfaq8 にものってるし。 という安易な考えで調べて見てたら結構深い。 素直にモジュール使うのがいいかもしれない。 App::Daemonは実行ユーザーの変更、ログ出力もサポートしてるがLog::Log4perl,Proc::ProcessTableと依存モジュールがある。 Proc::DaemonはPP 手順 forkで子プロセスを作成する 親プロセスを終了する umask(0)でマスク値を設定する umaskが設定されていると意図しない権限で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymko.hatenadiary.org%2Fentry%2F20110212%2F1297512317&quot; title=&quot;デーモンプログラムを書いてみる - ymkoの日記&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-02-12 21:05:17</published>
  <title>デーモンプログラムを書いてみる</title>
  <type>rich</type>
  <url>https://ymko.hatenadiary.org/entry/20110212/1297512317</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
