Perl/TwitterBotへ向けて
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[Perl]]
+Bot作成しようとしたら,文字化する.ようやく解決した.
--http://floralcompany.jp/archives/2009/08/workaround-for.html
--これ,本当に文字化けしない.
use utf8;
use Net::Twitter;
my $twitter = Net::Twitter->new(
username=>"" #ユーザー名
, password=>"" #パスワード
);
my $status = '日本語';
{ no utf8;
$twitter->update({status => $status}); # 文字化けない
}
--失敗したURL
---http://www.otchy.net/20090629/making-of-twitter-bot-2/
終了行:
[[Perl]]
+Bot作成しようとしたら,文字化する.ようやく解決した.
--http://floralcompany.jp/archives/2009/08/workaround-for.html
--これ,本当に文字化けしない.
use utf8;
use Net::Twitter;
my $twitter = Net::Twitter->new(
username=>"" #ユーザー名
, password=>"" #パスワード
);
my $status = '日本語';
{ no utf8;
$twitter->update({status => $status}); # 文字化けない
}
--失敗したURL
---http://www.otchy.net/20090629/making-of-twitter-bot-2/
ページ名: