NAME
App::Nag - send yourself a reminder
VERSION
version 0.002
DESCRIPTION
App::Nag
does some heavier argument validation after the initial validation performed by the initial script. If all looks good, it sets a daemon process going that will wait the appointed time and then pop up a notification.
This module is written only to serve nag
. Use outside of this application at your own risk.
METHODS
validate_args
validate_args
does your basic argument validation. If all goes well it returns $opt
and $usage
arguments as per Getopt::Long::Descriptive and a $name
argument as per Getopt::Long::Descriptive::prog_name
.
validate_time
validate_time
confirms the validity of the time expression. If all goes well it generates a numeric verbosity level, title and body text, for whatever widget is to pop up, and a number of seconds to wait before making and displaying the widget.
run
run
spawns a daemon process which will wait until the appointed time and then pop up the notification widget. It takes the program name, seconds to wait, body and title text, and verbosity level. It returns nothing.
AUTHOR
David F. Houghton <dfhoughton@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by David F. Houghton.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.