source: lab/vendor/twitter/twitbot.pl @ 44

Last change on this file since 44 was 44, checked in by mitty, 14 years ago
  • Property svn:executable set to *
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.