Termbox::PP is a Perl module that provides a minimalistic API and enables Perl programmers to create text-based user interfaces.
Here are three outstanding advantages:
- 1 Pure Perl
-
The library is implemented in pure Perl and does not require any XS or C code. This makes it very portable and easy to install on any *nix operating system with a Perl interpreter.
- 2 Abstraction of functions
-
The basic idea is to abstract the largest common subset of functions available on all major terminals and other terminal-like APIs in a minimalistic way.
- 3 Simplicity of the API
-
A small API means that it is easy to implement, test, maintain and learn. This makes termbox a unique library.
This port of termbox2 is still quite new and still has to prove itself in production use and possibly be improved.
To install the Termbox::PP module type the following:
cpan Termbox::PPManual install:
perl Makefile.PL
make
make installTermbox::PP mainly needs Core modules of Perl >= v5.10 and these modules for development and testing:
Test::Exception (only for testing)
For examples of what you can do, see the various examples in the example/ directory. You can try them out via:
perl example/hello_world.plTermbox::PP is a port of termbox2.
2024,2026 J. Schneider <http://github.com/brickpool>
Copyright (c) 2021 by termbox developers
MIT License