Log::Dispatch::Twitter - Log messages via Twitter
use Log::Dispatch; use Log::Dispatch::Twitter; my $logger = Log::Dispatch->new; $logger->add(Log::Dispatch::Twitter->new( username => "foo", password => "bar", # Net::Twitter args traits => [qw/OAuth API::REST/], consumer_key => $consumer_key, consumer_secret => $consumer_secret, access_token => $token, access_token_secret => $token_secret, )); $logger->log( level => 'error', message => 'We applied the cortical electrodes but were unable to get a neural reaction from either patient.', );
Twitter is a presence tracking site. Why not track your program's presence?
Shawn M Moore, sartak@gmail.com
sartak@gmail.com
Copyright 2008-2010 Shawn M Moore.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Log::Dispatch::Twitter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatch::Twitter
CPAN shell
perl -MCPAN -e shell install Log::Dispatch::Twitter
For more information on module installation, please visit the detailed CPAN module installation guide.