Guest User

Untitled

a guest
Mar 11th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6. use utf8;
  7.  
  8. use Net::Twitter::Lite;
  9.  
  10. my $twitter = Net::Twitter::Lite->new(
  11. username => 'matsuu',
  12. password => 'xxxxxx',
  13. );
  14.  
  15. eval {
  16. $twitter->update("日本語テスト1");
  17. $twitter->update({ status => "日本語テスト2" });
  18. $twitter->update("日本語テスト3");
  19. $twitter->update({ status => "日本語テスト4" });
  20. };
Add Comment
Please, Sign In to add comment