Acme::POE::Tree - an animated christmas tree


Acme-POE-Tree documentation  | view source Contained in the Acme-POE-Tree distribution.

Index


NAME

Top

Acme::POE::Tree - an animated christmas tree

SYNOPSIS

Top

	perl -MAcme::POE::Tree -e 'Acme::POE::Tree->new()->run()'

DESCRIPTION

Top

Acme::POE::Tree uses IO::Tty to learn the current terminal size, Curses to fill the terminal with a colorful Christmas tree, and POE to animate the lights.

PUBLIC METHODS

Top

new

Create a new Acme::POE::Tree application. The light and star animation delays may be set here. The tree may also be set to exit automatically after a short amount of time:

	use Acme::POE::Tree;
	my $tree = Acme::POE::Tree->new(
		{
			star_delay => 1.5,  # shimmer star every 1.5 sec
			light_delay => 2,   # twinkle lights every 2 sec
			run_for => 10,      # automatically exit after 10 sec
		}
	);
	$tree->run();

run

Run the tree until the user decides they've had enough.

AUTHOR

Top

Rocco Caputo <rcaputo@cpan.org> with debugging and feedback from irc.perl.org channel #poe.

BUG TRACKER

Top

https://rt.cpan.org/Dist/Display.html?Status=Active&Queue=Acme-POE-Tree

REPOSITORY

Top

http://github.com/rcaputo/acme-poe-tree

OTHER RESOURCES

Top

http://search.cpan.org/dist/Acme-POE-Tree/

COPYRIGHT

Top


Acme-POE-Tree documentation  | view source Contained in the Acme-POE-Tree distribution.