NAME
Jaipo::Notify::MacGrowl - A easy-to-use interface to show desktop notifications with Growl on Mac OSX.
SYNOPSIS
Jaipo::Notify::MacGrowl is a easy-to-use interface to show desktop notifications with Grwol on Mac OSX.
use Jaipo::Notify::MacGrowl;
my $notify = Jaipo::Notify::MacGrowl->new();
# yell for Service Notify.
$notify->yell('Cannot connect to M$-Mi$roBlo$: $!');
# display for message displaying.
$notify->display("From Mr.Right: Hello Darling. How are you today?");
# get current timeout setting
print Data::Dumper $notify->timeout;
# set yell timeout to 10 seconds. default is 5.
$notify->timeout("yell" => 10);
# set display timeout to 5 seconds. default is 3.
$notify->timeout("yell" => 5);
FUNCTIONS
new
Return a object which talks to Growl.
yell
yell for Service Notify. Pops a notification with title "Jaipo Service Notify" and the given message content from you.
display
display for message displaying. Pops a notification with title "You've Got Message!" and the given message content from you.
timeout
timeout for changing/getting the current timeout value. Not implemented.
AUTHOR
BlueT - Matthew Lien - 練喆明, <BlueT at BlueT.org>
BUGS
Please report any bugs or feature requests to bug-jaipo-notify-macgrowl at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Jaipo-Notify-MacGrowl. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Jaipo::Notify::MacGrowl
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Jaipo-Notify-MacGrowl
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 BlueT - Matthew Lien - 練喆明, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.