<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>最低限のコードで use File::Copy; use CGI; my $cgi = new CGI; # 仮ファイルが勝手に作られ、勝手に消える my $upfile = $cgi-&gt;param('upfile'); # アップロードしたときのファイル名(hoge.txtとか) my $tmpfile = $cgi-&gt;tmpFileName($upfile); # アップロードされた仮ファイル名(/var/tmp/xxxxとか) File::Copy::copy($tmpfile, &quot;/data/piyo.txt&quot;); # 好きな場所にコピーするなりなんなり &lt;form enctype=&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20180511%2Fperl&quot; title=&quot; perlのCGIでのファイルアップロード処理 - 揮発性のメモ２&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>2018-05-11 00:00:00</published>
  <title> perlのCGIでのファイルアップロード処理</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20180511/perl</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
