{"type":"rich","height":"190","description":"\u6700\u4f4e\u9650\u306e\u30b3\u30fc\u30c9\u3067 use File::Copy; use CGI; my $cgi = new CGI; # \u4eee\u30d5\u30a1\u30a4\u30eb\u304c\u52dd\u624b\u306b\u4f5c\u3089\u308c\u3001\u52dd\u624b\u306b\u6d88\u3048\u308b my $upfile = $cgi->param('upfile'); # \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u3068\u304d\u306e\u30d5\u30a1\u30a4\u30eb\u540d(hoge.txt\u3068\u304b) my $tmpfile = $cgi->tmpFileName($upfile); # \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u4eee\u30d5\u30a1\u30a4\u30eb\u540d(/var/tmp/xxxx\u3068\u304b) File::Copy::copy($tmpfile, \"/data/piyo.txt\"); # \u597d\u304d\u306a\u5834\u6240\u306b\u30b3\u30d4\u30fc\u3059\u308b\u306a\u308a\u306a\u3093\u306a\u308a <form enctype=\"\u2026","width":"100%","title":" perl\u306eCGI\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u51e6\u7406","version":"1.0","author_name":"iww","provider_name":"Hatena Blog","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","author_url":"https://blog.hatena.ne.jp/iww/","categories":["perl"],"provider_url":"https://hatena.blog","url":"https://iww.hateblo.jp/entry/20180511/perl","image_url":null,"published":"2018-05-11 00:00:00","blog_url":"https://iww.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20180511%2Fperl\" title=\" perl\u306eCGI\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u51e6\u7406 - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}