Twitter::Queue - the micro blogging framework FIFO queue
Constructor, returns a new Twitter::Queue object.
Twitter::Queue
Requires hashref containing these key values:
consumer_key => '...', consumer_secret => '...', access_token => '...', access_token_secret => '...', size => 100, # optional queue size
The Twitter key/secrets come from the Twitter API. You need to register an application with Twitter in order to obtain them.
Adds $item to the queue, $item must be be a string that complies with Twitter's character counting rules.
$item
Returns the next item in the queue, removing it from the queue. Returns undef if the queue is empty.
undef
© 2017 David Farrell
The (two-clause) FreeBSD License, see LICENSE.
To install Twitter::Queue, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Twitter::Queue
CPAN shell
perl -MCPAN -e shell install Twitter::Queue
For more information on module installation, please visit the detailed CPAN module installation guide.