
we are going to install some perl modules, for a very line-oriented christmas.
% perl -MCPAN -e 'install IO:Tty'
% perl -MCPAN -e 'install Acme'
% perl -MCPAN -e 'install POE'
preferably as root.
want to have `Acme::POE::Tree', and execute
% perl -MAcme::POE::Tree -e 'Acme::POE::Tree->new()->run()'
meaning: `http://search.cpan.org/~rgiersig/IO-Tty-1.07/Tty.pm';
         `http://search.cpan.org/~ingy/Acme-1.11111/lib/Acme.pm';
         `http://search.cpan.org/~rcaputo/POE-1.003/lib/POE.pm';
finally: `http://search.cpan.org/~rcaputo/Acme-POE-Tree-1.01/lib/Acme/POE/Tree.pm'.
% wget http://search.cpan.org/CPAN/authors/id/R/RG/RGIERSIG/IO-Tty-1.07.tar.gz
% wget http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Acme-1.11111.tar.gz
% wget http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-1.003.tar.gz
% wget http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/Acme-POE-Tree-1.01.tar.gz
% perl Makefile.PL && make && make test && make install
for each mod.
or,
% perl -MCPAN -e 'install Acme::POE::Tree'
obviously, you'll have to set cpan first ($HOME/.cpan/Metadata).
% perl -MAcme::POE::Tree -e 'Acme::POE::Tree->new()->run()'
once you have it, play with it: modifying (the method) `star_delay', or `light_delay', etc.
p.s.: `IO::Tty' determines tty's properties, by importing constants. w00t!
p.p.s.: thanks to rocco for the geeky present.
        ^             !             ?
       /\            /\            /\
      / *\          /  \          /  \
     / * *\        /  * \        /    \
    /_*_*_*\      /_*__*_\      / ^^^^ \
      ^||^          /^^\           ||    .
p.s.s.: compression and a lot of solid-color areas, resulting a small image. note: this is a png; if it looks broken, get a browser that can view pngs =:: http://www.libpng.org/pub/png/pngapbr.html.
. ..:
 
 
 
 

 
 Posts
Posts
 
 
 
 
 
 
 
 
 
 

 


![Creative Commons Licence [Some Rights Reserved]](http://i.creativecommons.org/l/by-sa/3.0/80x15.png)