Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.313 kB
#!/usr/bin/perl
use Net::Twitter;
$user = shift ;
$pass = shift ;
$receiver = shift;
#surround complex stuff in single quotes
$msg = shift ;
my $nt = Net::Twitter->new(
traits => [qw/API::REST API::Search/],
username => $user,
password => $pass );
$nt->new_direct_message($receiver, $msg);
Jump to Line
Something went wrong with that request. Please try again.