Growl::Any - Common interface to Growl
use Growl::Any; my $growl = Growl::Any->new(appname => "my app", events => ["event1", "event2"]); $growl->notify("event1", "title", "message", "path/to/icon");
Growl::Any is a Perl module that provide growls using growl modules. This can notify to desktop applications working in the local system.
Growl::Any->new(appname => $appname, events => $events, ...)
Creates a Growl::Any client with $appname and $events.
$appname must be a text string, and $events must be an ARRAY reference consisting of text strings.
$growl->notify($event, $title, $message, $path_to_icon_file)
Show a notification with given arguments.
Growl::Any->backend
Returns the Growl::Any backend.
Yasuhiro Matsumoto <mattn.jp@gmail.com>
tokuhirom
Mac::Growl, Desktop::Notify, Net::GrowlClient, Net::Growl
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Growl::Any, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Growl::Any
CPAN shell
perl -MCPAN -e shell install Growl::Any
For more information on module installation, please visit the detailed CPAN module installation guide.