source: lab.git/twitbot.pl @ ae9048b

twitter-0.1twitter-0.1@44twitter-0.1@65twitter-0.1@66
Last change on this file since ae9048b was ae9048b, checked in by mitty <mitty@…>, 14 years ago

git-svn-id: https://lab.mitty.jp/svn/lab/vendor/twitter@44 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

  • Property mode set to 100755
File size: 307 bytes
Line 
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5use YAML::Tiny;
6use Net::Twitter;
7
8my $config = (YAML::Tiny->read('config.yml'))->[0];
9my $twit = Net::Twitter->new(username => $config->{'username'}, password => $config->{'password'});
10
11$twit->update('Perl から Twiitter を更新するテストですよー');
Note: See TracBrowser for help on using the repository browser.