NAME

Net::Snarl - Snarl network protocol

VERSION

Version 0.02

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

use Net::Snarl;

my $foo = Net::Snarl->new();
...

SUBROUTINES/METHODS

register($application, $host, $port)

Connects to Snarl and register an application. Host defaults to localhost and port defaults to Net::Snarl::SNARL_PORT.

add_class($class, $title)

Registers a notification class with your application. Title is the optional friendly name for the class.

notify($class, $title, $text, $timeout)

Displays a notification of the specified class. Timeout defaults to 0 (sticky).

AUTHOR

Alan Berndt, <alan at eatabrick.org>

BUGS

Please report any bugs or feature requests to bug-net-snarl at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Snarl. 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 Net::Snarl

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2010 Alan Berndt.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.