Created
April 1, 2012 03:49
-
-
Save chris-x86-64/2271034 to your computer and use it in GitHub Desktop.
Gyoza no Oushou
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Encode; | |
use utf8; | |
use Net::Twitter::Lite; | |
use YAML::Syck; | |
my $conf = YAML::Syck::LoadFile('config.yml'); | |
my $nt = Net::Twitter::Lite->new( | |
%$conf, | |
ssl => 1, | |
traits => [qw/API::REST OAuth WrapError/], | |
); | |
$nt->update(decode_utf8($_)) foreach (reverse(split('', '餃子の王将'))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment