A Perl module to allow Perl regular expressions to be applied to streams.
Quoting the documentation:
Perl filehandles are streams, but sometimes they just aren't powerful enough. This module
... [More] offers to have streams from filehandles searched with regexes and allows the global input record separator variable to contain regexes.
Thus, readline() and the <> operator can now return records delimited by regular expression matches. [Less]
ASCL (Ada 95 Appl. Support Component Lib.) shall provide Ada 95 components to ease the development of applications written in Ada 95.This will be done by collecting freely available components and to integrate them into a single Ada 95 library.
The File Consolidator uses a list of source directories to find duplicate files and copy unique files into a target directory.
There is an option to erase the original (duplicate) files in cases
... [More] where additional disk space is not available.
Originally intended for Mp3 Music library consolodation, it may be used for generic files. [Less]
This is a PHP class which implements a matrix (multi-dimensional array) with unlimited dimensions. Normal arrays are limited not by PHP itself, but by the impracticality of maintaining a large set of
... [More] indices. Indeed, this partly evolved from an attempt to do just that within a recursive function. Among other things, it is capable of modeling a directory tree (the original subject).
Indices are represented as either an array or a string, recalling the necessary syntax used by programming languages. For example, PHP uses square brackets around each index:
$matrix[3][6][1][8][5] = 'foo';Equivalent GrandMatrix code follows:
$matrix->set('3,6,1,8,5', 'foo');Or if you prefer no delimiter, you can use this:
$matrix->set(array(3, 6, 1, 8, 5), 'foo');Such a small syntactical difference allows much greater simplicity in calling code (particularly loops) in comparison to the equivalent raw logic. This is only because the indices may be remembered and manipulated:
$indices = array(3, 6, 1, 8, 5);
$matrix->set($indices, 'foo');
$indices[4]++; // Change the 5 to 6.
$matrix->set($indices, 'bar');The default delimiter of ',' is configurable as an argument to the constructor. To use a slash, for example to allow direct use of the server's paths, just do this:
$matrix = new GrandMatrix('/'); [Less]