NAME
App::Tickit::Hello - Base class for tickit-hello script.
SYNOPSIS
use App::Tickit::Hello;
my $app = App::Tickit::Hello->new;
my $exit_code = $app->run;
METHODS
new
my $app = App::Tickit::Hello->new;
Constructor.
Returns instance of object.
run
my $exit_code = $app->run;
Run.
Returns 1 for error, 0 for success.
EXAMPLE
use strict;
use warnings;
use App::Tickit::Hello;
# Run.
exit App::Tickit::Hello->new->run;
# Output like:
# Green text 'Hello world!' in the middle of screen.
DEPENDENCIES
Getopt::Std, List::Util, Readonly, Tickit, Tickit::Widget::Static.
REPOSITORY
https://github.com/michal-josef-spacek/App-Tickit-Hello
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2024 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.01