Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (11 sloc) 0.384 kb
#!/usr/bin/perl
use Net::Twitter;
#don't forget to surround complex things with single quotes
my $search = shift ;
my $nt = Net::Twitter->new(
traits => ['API::Search', 'InflateObjects' ],
decode_html_entities => 1,
);
my $r = $nt->search($search, {rrp=>'100'});
for my $tweet ( @{$r->results} ) {
printf "%s: %s\n", $tweet->from_user, $tweet->text;}
Jump to Line
Something went wrong with that request. Please try again.