20/06/15 21:52:43.85 rjrfpKII.net
>>884 Perl5
use LWP::Simple;
use LWP::Protocol::https;
print mirror('URLリンク(google.com)', './robots.txt'), "\n";
実行結果
~ $ perl 17_881_https_mirror_robots_txt.pl
200
~ $ ls -o robots.txt
-rw-r--r-- 1 user 7035 Jun 9 03:00 robots.txt