Portable API to set the terminal titlebar
This module dumps strings of characters (or bytes) for printing and debugging.
String::Errf provides errf, a simple string formatter that works
something like sprintf.
The subname() function exported by this module allows one to assign new
names to Perl subroutine. This is different from glob-assignment, since
the name is only used for informational purposes (caller, Carp, etc.).
Note that for anonymous closures (subs that reference lexicals declared
outside the sub itself) one can name each instance of the closure
differently, which can be very useful for debugging.
The VT102 class provides emulation of most of the functions of a DEC
VT102 terminal. Once initialised, data passed to a VT102 object is
processed and the in-memory "screen" modified accordingly. This
"screen" can be interrogated by the external program in a variety of
ways.
This allows your program to interface with full-screen console
programs by running them in a subprocess and passing their output to a
VT102 class. You can then see what the application has written on the
screen by querying the class appropriately.
This simple test module checks the subroutines provided by a module. This is
useful for confirming a planned API in testing and ensuring that other
functions aren't unintentionally included via import.
String::Formatter is a tool for building sprintf-like formatting
routines. It supports named or positional formatting, custom
conversions, fixed string interpolation, and simple width-matching out
of the box.
LRC - Perl interface for longitudinal redundancy check generation
The Longitudinal Redundancy Check (LRC) is a one byte character,
commonly used as a byte-field in data transmission over analog systems.
Most commonly, in STX-ETX bounded strings sent in financial protocols.
Following some previous experience with such protocols, I wrote
an LRC function in perl and later decided to re-write in C
for efficiency. The result is this module String::LRC,
which generates this aforementioned byte.
Commonly used in financial protocols as follows with ETX (ASCII 03)
appended to LRC sum and packets after the STX (ASCII 02), payload,
and ETX chars.
The String::Parity module for perl5 may be used to generate and test
even, odd, mark and space parity on arbitrary strings.