While the author of BSAX-J has not yet come to a final conclusion about the need for a binary XML format, BSAX is his idea of one possible encoding that leverages other XML prior art (SAX events and UTF-8, in particular). It is complete in that it can be used to perform round-trip conversions from textual XML to SAX events to BSAX binary streams, and back to SAX events and textual XML. The test code in the distribution does exactly that for a simple example XML file, and measures the difference in file size (the file is slightly smaller for the BSAX encoding of the sample file) and the difference in read time (the read time is significantly faster for the sample file).
The Env::Array Perl module permits the user to treat an environment variable like a regular Perl array. Array operations are implemented to use splitting and joining based on the specified delimiter. Great for environment variables like PATH. PLEASE NOTE: This module is OBSOLETE as of Perl 5.6.0. The author submitted a patch to Perl to implement this functionality in the core Perl Env.pm module and it was accepted for the 5.6.0 release.
This is an early conversion of my first chess-related Perl program, chess.pl, which provided just enough functionality to permit tracking the movements of pieces throughout a game. One notable feature is the ability to provide incomplete ply notation, allowing the program to figure out the type of the piece being moved, or whether the ply represents a capture (x) or occupation (-). This functionality will be broadened in the future to permit partial space specification (e.g. `cxd4'), and other cases of standard chess move notation.
The metric implemented in the Image::Density Perl Module estimates the density of data where there is data, and has a reasonable correlation with goodness as judged by humans. That is, if you let a human look at a set of images and judge quality, the density values for those images as calculated here tend to correlate well with the human judgement (densities that are too high or too low represent "bad'' images). It is intended for use on bitonal TIFF images, such as those from scanning paper documents.
This module implements a simple Literate Programming capability for Perl. Just as Perl's Plain Old Documentation (POD) is intended to be just powerful enough to be useful while remaining easy for the programmer, Literate Perl (LIP) is intended to bring the basic benefits of Literate Programming to Perl without radically altering the way programmers/authors work.
Obsolete Code that performs the same function as this has been accepted into the Perl 5.6.0 distribution. It is incoporated into the Env.pm module, allowing use Env qw($HOME @PATH) to do the exp...