Glob
File::Glob is a Perl extension for BSD glob routine. SYNOPSIS use File::Glob :glob; @list = bsd_glob(*.[ch]); $homedir = bsd_glob(~gnat, GLOB_TILDE | GLOB_ERR); if (GLOB_ERROR) { # an error occurred reading $homedir } ## override the core glob (CORE::glob() does this automatically...
Platforms: *nix
License: Freeware | Size: 12.2 MB | Download (88): File::Glob Download |
The string_glob_permute() function provided by the String::Glob::Permute Perl module expands glob-like notations in text strings and returns all possible permutations. For example, to run a script on hosts host1, host2, and host3, you might write @hosts = string_glob_permute( "host[1-3]" );...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (40): String::Glob::Permute Download |
XML::Literal is a Perl module with syntax support for XML literals. SYNOPSIS # This is not a source filter: it just augments glob(). use XML::Simple; use XML::Literal &XMLin; # Simple element my $xml1 = < hr/ >; # With variable interpolation my $xml2 = < input value=$ARGV[0] / >; #...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (94): XML::Literal Download |
File::Wildcard is a Perl module for enhanced glob processing. SYNOPSIS use File::Wildcard; my $foo = File::Wildcard->new(path => "/home/me///core"); while (my $file = $foo->next) { unlink $file; } When looking at how various operating systems do filename wildcard expansion (globbing),...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (96): File::Wildcard Download |
Archive::Ar is a Perl interface for manipulating ar archives. SYNOPSIS use Archive::Ar; my $ar = new Archive::Ar("./foo.ar"); $ar->add_data("newfile.txt","Some contents", $properties); $ar->add_files("./bar.tar.gz", "bat.pl") $ar->add_files(["./again.gz"]); $ar->remove("file1",...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (107): Archive::Ar Download |
File::BSDGlob is a Perl extension for BSD glob routine. SYNOPSIS use File::BSDGlob :glob; @list = glob(*.[ch]); $homedir = glob(~gnat, GLOB_TILDE | GLOB_ERR); if (GLOB_ERROR) { # an error occurred reading $homedir } ## override the core glob (even with -T) use File::BSDGlob globally;...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (87): File::BSDGlob Download |
Mapdir is a small utility module that provides a very flexible and general functional programming (read: easy) mechanism for applying functions to all (or selected) files and subdirectories in a directory.Sample applications include data import, extraction or transformation.Any time you are...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (45): Mapdir Download |
snide is a glob of GUI glue which ties together a collection of command-line development utilties into a simple IDE (Integrated Development Environment) for Linux. features: Project Managmenet Troll Tech's tmake utility is leveraged for project management, allowing easy, cross-platform...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (42): snide Download |
Ever wished there was an easy way to backup multiple versions of your files, or quickly synchronize them across different computers (even on different operating systems) so that you always work with the most recent copies? ZipSnap can help you with that!
ZipSnap creates archives that are...
Platforms: Windows, Mac, *nix
License: Freeware | Size: 96.67 KB | Download (224): ZipSnap Download |
Test::Smoke::Patcher is a OO interface to help patching the source-tree. SYNOPSIS use Test::Smoke::Patcher; my $patcher = Test::Smoke::Patcher->new( single => { ddir => $build_dir, pfile => $patch, popts => -p1, v => 1, # 0..2 }); $patcher->patch; or my $patcher =...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (110): Test::Smoke::Patcher Download |
File::Find::Parallel allows you to traverse a number of similar directories in parallel. SYNOPSIS use File::Find::Parallel; my $ffp = File::Find::Parallel->new( qw( /foo /bar ) ); print "Union:n"; my $union = $ffp->any_iterator print " $_n" while $_ = $union->(); print...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (92): File::Find::Parallel Download |
Locale::Maketext::Lexicon is a Perl module to use other catalog formats in Maketext. SYNOPSIS As part of a localization class, automatically glob for available lexicons: package Hello::I18N; use base Locale::Maketext; use Locale::Maketext::Lexicon { * => [Gettext =>...
Platforms: *nix
License: Freeware | Size: 83.97 KB | Download (92): Locale::Maketext::Lexicon Download |
StateML is a State Machine Markup Language, with GraphViz and template-driven code generation. SYNOPSIS ## See the stml command for command line use (recommended) ## Heres what a .stml file might look like: < machine id="main" xmlns="http://slaysys.com/StateML/1.0"...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (99): StateML Download |
Perl6::Parameters is a module with Perl 6-style prototypes with named parameters. SYNOPSIS use Perl6::Parameters; sub mysub($foo, ARRAY $bar, *%rest) { ... } DETAILS Perl6::Parameters is a Perl module which simulates Perl 6s named parameters. (When I talk about "named parameters" I...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (91): Perl6::Parameters Download |
PDL::IO::Misc is a Perl module with misc IO routines for PDL. rcols() Read ASCII whitespaced cols from a file into piddles and perl arrays (also see "rgrep()"). There are two calling conventions - the old version, where a pattern can be specified after the filename/handle, and the new...
Platforms: *nix
License: Freeware | Size: 2.1 MB | Download (87): PDL::IO::Misc Download |
List::Maker is a Perl module that can generate more sophisticated lists than just $a..$b. SYNOPSIS use List::Maker; @list = < 1..10 >; # (1,2,3,4,5,6,7,8,9,10) @list = < 10..1 >; # (10,9,8,7,6,5,4,3,2,1) @list = < 1,3,..10 > # (1,3,5,7,9) @list = < 1..10 x 2 > # (1,3,5,7,9) @list = <...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (159): List::Maker Download |
Argv is a Perl module that provides an OO interface to an arg vector. SYNOPSIS use Argv; # A roundabout way of getting perls version. my $pl = Argv->new(qw(perl -v)); $pl->exec; # Run /bin/cat, showing how to provide "predigested" options. Argv->new(/bin/cat, [qw(-u -n)],...
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (86): Argv Download |
UNIXEm is a UNIX Emulation Library for Win32. Several Linux APIs, such as opendir() (a simple but useful set of functions directory enumeration functions, comprising opendir(), closedir(), rewinddir() and readdir()), are not provided on Windows, or are not provided on Intel C/C++ / Visual C++....
Platforms: *nix
License: Freeware | Size: 419.84 KB | Download (99): UNIXEm Download |
File::Listing is a Perl module to parse directory listing. SYNOPSIS use File::Listing qw(parse_dir); for (parse_dir(`ls -l`)) { ($name, $type, $size, $mtime, $mode) = @$_; next if $type ne f; # plain file #... } # directory listing can also be read from a file open(LISTING, "zcat...
Platforms: *nix
License: Freeware | Size: 235.52 KB | Download (102): File::Listing Download |
Glib::CodeGen is a code generation utilities for Glib-based bindings. SYNOPSIS # usually in Makefile.PL use Glib::CodeGen; # most common, use all defaults Glib::CodeGen->parse_maps (myprefix); Glib::CodeGen->write_boot; # more exotic, change everything Glib::CodeGen->parse_maps (foo,...
Platforms: *nix
License: Freeware | Size: 225.28 KB | Download (118): Glib::CodeGen Download |