2010-02-19から1日間の記事一覧

Log4Perl でファイルとメールにログを残す

log4perl でファイルにログを残すのと、任意のレベル以上のエラーが発生した場合はメールを送信するように設定する。 簡易な設定ファイルの内容 log4perl.rootLogger = DEBUG, LogAppender, MAILER log4perl.appender.LogAppender = Log::Log4perl::Appender…

Yahoo Web API の返り値を XML で受け取って Perl で処理をする

「Yahoo Web API の返り値を JSON で受け取って Perl で処理をする」の改良版。 #!/usr/bin/env perl use strict; use warnings; use utf8; use Encode; use LWP::UserAgent; use Data::Dumper; use URI::Escape; use XML::Simple; my $yahoo_app_id = 'your…

利用規約

遵守事項 Display all the results you request. Display your results in the context of a user-facing application or website. Display attribution to Bing in a manner compliant with our branding rules. Currently, you may determine the specific…