Skip to content

Instantly share code, notes, and snippets.

@semifor
Created March 29, 2011 18:52
Show Gist options
  • Select an option

  • Save semifor/892991 to your computer and use it in GitHub Desktop.

Select an option

Save semifor/892991 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use Net::Twitter;
my $nt = Net::Twitter->new(traits => [
qw/API::REST API::Search InflateObjects RetryOnError AutoCursor/,
AutoCursor => { max_calls => 4, methods => [qw/followers friends/] },
]);
print ref $nt, "\n";
# Net::Twitter::with__API_REST__API_Search__AutoCursor__AutoCursor_1__InflateObjects__RetryOnError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment