Skip to content

Instantly share code, notes, and snippets.

@chris-x86-64
Created April 1, 2012 03:49
Show Gist options
  • Save chris-x86-64/2271034 to your computer and use it in GitHub Desktop.
Save chris-x86-64/2271034 to your computer and use it in GitHub Desktop.
Gyoza no Oushou
#!/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