Net::Twitter::Diff - Twitter Diff
use Net::Twitter::Search;
my $twitter = Net::Twitter::Search->new(); my $results = $twitter->search('hello'); foreach my $tweet (@{ $results }) { my $speaker = $tweet->{from_user}; my $text = $tweet->{text}; my $time = $tweet->{created_at}; print "$time <$speaker> $text\n"; } # If you want , this module use Net::Twitter as base so you can use methods Net::Twitter has. my $twitter = Net::Twitter::Search->new(username => $username, password => $password); $twitter->update('My current Status');
For searching twitter - handy for bots
run search
response hash
Net::Twitter
Brenda Wallace <brenda@wallace.net.nz>
To install Net::Twitter::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Twitter::Search
CPAN shell
perl -MCPAN -e shell install Net::Twitter::Search
For more information on module installation, please visit the detailed CPAN module installation guide.