[or-cvs] r21431: {projects} use the lite module instead (projects/misc)
Runa Sandvik
runa.sandvik at gmail.com
Mon Jan 18 18:06:06 UTC 2010
Author: runa
Date: 2010-01-18 18:06:05 +0000 (Mon, 18 Jan 2010)
New Revision: 21431
Modified:
projects/misc/twitter.pl
Log:
use the lite module instead
Modified: projects/misc/twitter.pl
===================================================================
--- projects/misc/twitter.pl 2010-01-18 17:33:59 UTC (rev 21430)
+++ projects/misc/twitter.pl 2010-01-18 18:06:05 UTC (rev 21431)
@@ -13,7 +13,7 @@
use strict;
use warnings;
-use Net::Twitter;
+use Net::Twitter::Lite;
# The file with the lines we wish to tweet
my $tweet = "filename1";
@@ -26,8 +26,7 @@
my $password = "password";
# Connect to Twitter
-my $twitter = Net::Twitter->new(
- traits => [qw/API::REST/],
+my $twitter = Net::Twitter::Lite->new(
username => $user,
password => $password,
ssl => 1
More information about the tor-commits
mailing list