File Parser Perl
File::Locate is a Perl module to search the (s)locate-database from Perl. SYNOPSIS use File::Locate; print join "n", locate "mp3", "/usr/var/locatedb"; # or only test of something is in the database if (locate("mp3", "/usr/var/locatedb")) { print "yep...sort of mp3 there"; } # do...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (104): File::Locate Download |
Sys::Manage::Cmd - Systems management command volley. SYNOPSIS Command line script use Sys::Manage::Cmd; my $s =Sys::Manage::Cmd->new(); # Script associations (see also embedded in source): $s->{-assoc}->{.ftp}=sub{[ftp,-n,-s:loginfile,!elem!,<,$_[1]->[0]]}; # Target collections:...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (103): Sys::Manage::Cmd Download |
File::LckPwdF is a Perl module to lock and unlock the passwd and shadow files with lckpwdf and ulckpwdf. SYNOPSIS use File::LckPwdF; (lock_passwd(15)) || (die "Cant lock password file:n$! stopped"); # ... do stuff with the passwd file ... (unlock_passwd()) || (die "Cant unlock password...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (103): File::LckPwdF Download |
RDFStore::Parser::SiRPAC is a Perl module that implements a streaming RDF Parser as a direct implementation of XML::Parser::Expat. SYNOPSIS use RDFStore::Parser::SiRPAC; use RDFStore::NodeFactory; my $p=new RDFStore::Parser::SiRPAC( ErrorContext => 2, Handlers => { Init => sub { print...
Platforms: *nix
License: Freeware | Size: 481.28 KB | Download (102): RDFStore::Parser::SiRPAC Download |
File::Repl is a Perl module that provides file replication utilities. SYNOPSIS use File::Repl; %con = { dira => C:/perl, dirb => M:/perl, verbose => 1, age => 10, }; $ref=File::Repl->New(%con); $r1 = $ref->Update(.p(l|m),a<>b,1); $r2 = $ref->Update(.t.*,a<>b,1,.tmp$); The...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (102): File::Repl Download |
File::DirCompare is a Perl module to compare two directories using callbacks. SYNOPSIS use File::DirCompare; # Simple diff -r --brief replacement use File::Basename; File::DirCompare->compare($dir1, $dir2, sub { my ($a, $b) = @_; if (! $b) { printf "Only in %s: %sn", dirname($a),...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (102): File::DirCompare Download |
CQL::Parser is a Perl module that compiles CQL strings into parse trees of Node subtypes. SYNOPSIS use CQL::Parser; my $parser = CQL::Parser->new(); my $root = $parser->parse( $cql ); CQL::Parser provides a mechanism to parse Common Query Language (CQL) statements. The best description of...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (102): CQL::Parser 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 |
File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions. SYNOPSIS use File::Find::Rule::XPath; my @files = File::Find::Rule->file ->name(*.dkb) ->xpath( //section/title[contains(., "Crustacean")] ) ->in($root); This module extends File::Find::Rule to...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (102): File::Find::Rule::XPath Download |
File::Maker is a Perl module that mimics a make by loading a database and calling targets methods. SYNOPSIS ##### # Subroutine interface # use File::Maker qw(load_db); %data = load_db($pm); ###### # Object interface # require File::Maker; $maker = $maker->load_db($pm);...
Platforms: *nix
License: Freeware | Size: 77.82 KB | Download (102): File::Maker Download |
File::Backup is a Perl module for easy file backup & rotation automation. SYNOPSIS use File::Backup; backup( from => "/source/path", to => "/destination/path" ); backup( from => "/kansas/*", to => "/oz" ); purge_backups( to => "/destination/path", compress => 0, keep => 5, timeformat...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (101): File::Backup Download |
Mobile::Wurfl is a Perl module interface to WURFL (the Wireless Universal Resource File. SYNOPSIS my $wurfl = Mobile::Wurfl->new( wurfl_home => "/path/to/wurfl/home", db_descriptor => "DBI:mysql:database=wurfl:host=localhost", db_username => wurfl, db_password => wurfl, wurfl_url =>...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (101): Mobile::Wurfl Download |
X500::DN::Parser is a Perl module that can parse X500 Distinguished Names. SYNOPSIS use X500::DN::Parser; my($parser) = new X500::DN::Parser(&errorInDN); my($dn, $genericDN, %RDN) = $parser -> parse(c=au;o=MagicWare;cn=Ron Savage, c, [l], o, [ou], cn); Parse DNs where the caller knows...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (101): X500::DN::Parser Download |
Config::Sofu is a simple Sofu configuration file parser. SYNOPSIS use vars qw/%CONFIG/; use Config::Sofu "config.sofu"; if ($CONFIG{FOOBAR}) { ... } if ($CONFIG{Bar}->[7]->{Foo} eq "Foobar") { ... } Save the new configuration: $CONFIG{FOOBAR}="Bar times Foo"; Config::Sofu::save; or...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (100): Config::Sofu Download |
libConfuse is a library for parsing configuration files. It was called libcfg before, but was changed to not confuse with other similar libraries. It supports sections and (lists of) values (strings, integers, floats, booleans or other sections), as well as some other features (such as...
Platforms: *nix
License: Freeware | Size: 501.76 KB | Download (100): libConfuse Download |
ClearCase::Wrapper::DSB Perl module contains David Boyces contributed cleartool wrapper functions. SYNOPSIS This is an overlay module for ClearCase::Wrapper containing David Boyces non-standard extensions. See perldoc ClearCase::Wrapper for more details. CLEARTOOL ENHANCEMENTS CATCS 1....
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (100): ClearCase::Wrapper::DSB Download |
Audio::Data is a module for representing audio data to perl. SYNOPSIS use Audio::Data; my $audio = Audio::Data->new(rate => , ...); $audio->method(...) $audio OP ... Audio::Data represents audio data to perl in a fairly compact and efficient manner using C via XS to hold data as a C...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (100): Audio::Data Download |
File::Find::Closures is a Perl module with functions you can use with File::Find. SYNOPSIS use File::Find; use File::Find::Closures qw(:all); my( $wanted, $list_reporter ) = find_by_name( qw(README) ); File::Find::find( $wanted, @directories ); File::Find::find( { wanted => $wanted, ......
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (100): File::Find::Closures Download |
File::pushd is a Perl module to change directory temporarily for a limited scope. SYNOPSIS use File::pushd; chdir $ENV{HOME}; # change directory again for a limited scope { my $dir = pushd( /tmp ); # working directory changed to /tmp } # working directory has reverted to $ENV{HOME}...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (100): File::pushd Download |
File::BasicFlock is a Perl module for file locking with flock. SYNOPSIS use File::BasicFlock; lock($filename); lock($filename, shared); lock($filename, undef, nonblocking); lock($filename, shared, nonblocking); unlock($filename); Lock files using the flock() call. The file to be...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (100): File::BasicFlock Download |