BusyBird::Input::Generator - status generator
use BusyBird::Input::Generator; my $gen = BusyBird::Input::Generator->new(screen_name => "toshio_ito"); my $status = $gen->generate(text => "Hello, world!");
BusyBird::Input::Generator generates status objects. It is useful for injecting arbitrary messages into your timelines, or just for debugging purposes.
It automatically generates and sets the IDs of generated statuses.
It automatically sets the timestamps of generated statuses.
The constructor.
Fields in %args are:
%args
screen_name
The user.screen_name field of the statuses to be generated.
user.screen_name
Generates a status object. See BusyBird::Manual::Status for format of the status object.
text
The text field of the status. It must be a text string, not a binary (octet) string.
level
The busybird.level field of the status.
busybird.level
Toshio Ito <toshioito [at] cpan.org>
<toshioito [at] cpan.org>
To install BusyBird, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BusyBird
CPAN shell
perl -MCPAN -e shell install BusyBird
For more information on module installation, please visit the detailed CPAN module installation guide.