View on
MetaCPAN
Yasuhiro Matsumoto > Growl-Any-0.10 > Growl::Any

Download:
Growl-Any-0.10.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.10   Source  

NAME ^

Growl::Any - Common interface to Growl

SYNOPSIS ^

  use Growl::Any;
  my $growl = Growl::Any->new(appname => "my app", events => ["event1", "event2"]);
  $growl->notify("event1", "title", "message", "path/to/icon");

DESCRIPTION ^

Growl::Any is a Perl module that provide growls using growl modules. This can notify to desktop applications working in the local system.

INTERFACE ^

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.

AUTHOR ^

Yasuhiro Matsumoto <mattn.jp@gmail.com>

tokuhirom

SEE ALSO ^

Mac::Growl, Desktop::Notify, Net::GrowlClient, Net::Growl

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: