Hash
Linux::net::dev is a Perl extension for parsing /proc/net/dev. SYNOPSIS use Linux::net::dev; my $devs = Linux::net::dev::info(); print "Devices (bytes read):n"; foreach (keys %$devs) { print " $_ ($devs->{$_}->{rbytes})n"; } Linux::net::dev parses /proc/net/dev for network devices...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (97): Linux::net::dev Download |
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. SYNOPSIS use Hash::Merge qw( merge ); my %a = ( foo => 1, bar => [ qw( a b e ) ], querty => { bob => alice }, ); my %b = ( foo => 2, bar => [ qw(c d) ], querty => { ted => margeret }, ); my %c = %{ merge(...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (96): Hash::Merge Download |
Parse::Binary::FixedFormat is a Perl module to convert between fixed-length fields and hashes. SYNOPSIS use Parse::Binary::FixedFormat; my $tarhdr = new Parse::Binary::FixedFormat [ qw(name:a100 mode:a8 uid:a8 gid:a8 size:a12 mtime:a12 chksum:a8 typeflag:a1 linkname:a100 magic:a6...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (96): Parse::Binary::FixedFormat Download |
CGI::Expand is a Perl module that can convert flat hash to nested data using TT2s dot convention. SYNOPSIS use CGI::Expand; use CGI; # or Apache::Request, etc. $args = expand_cgi( CGI->new(a.0=3&a.2=4&b.c.0=x) ); # $args = { a => [3,undef,4], b => { c => [x] }, } # Or to catch...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (95): CGI::Expand Download |
XML::Compile::Schema::XmlReader Perl module contains bricks to translate XML to HASH. SYNOPSIS my $schema = XML::Compile::Schema- >new(...); my $code = $schema- >compile(READER = > ...); The translator understands schemas, but does not encode that into actions. This module implements those...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (95): XML::Compile::Schema::XmlReader Download |
Tie::HashHistory can track history of all changes to a tied hash. SYNOPSIS my $hh = tie %hash => Tie::HashHistory, PACKAGE, ARGS...; @values = $hh->history(KEY); Tie::HashHistory interposes itself between your program and another tied hash. Fetching and storing to the hash looks...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (95): Tie::HashHistory Download |
hashit is a generic hash library. hashit implements diverse collision handling methods. This function creates a hash table which is returned as a hash_t type. errno is set to ENOMEM if there wasnt enough memory avaliable for creating the table. Return value is a reference to the table just...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (95): hashit Download |
Hash allows you to check duplicate files to see if one is identical to the other.
Platforms: Mac
License: Freeware | Download (95): Hash Download |
XML::Essex::Event is a base event class, also used for unknown event types. Stringifies as $event->type . "()" to indicate an event that has no natural way to represented in XML, or for ones that havent been handled yet in Essex. Methods new XML::Event->new( a => 1, b => 2 );...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (95): XML::Essex::Event Download |
Bio::AnnotationCollectionI is a Perl interface for annotation collections. SYNOPSIS # get an AnnotationCollectionI somehow, eg $ac = $seq->annotation(); foreach $key ( $ac->get_all_annotation_keys() ) { @values = $ac->get_Annotations($key); foreach $value ( @values ) { # value is an...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (95): Bio::AnnotationCollectionI Download |
Tie::DB_Lock Perl module can tie hashes to databases using shared and exclusive locks. SYNOPSIS use Tie::DB_Lock; use DB_File; tie(%hash, Tie::DB_Lock, $filename, rw); # Open for writing $hash{key} = value; untie %hash; tie(%hash2, Tie::DB_Lock, $filename); # Default is read-only...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (95): Tie::DB_Lock Download |
Language::Zcode::Parser is a Perl module that reads and parses a Z-code file into a big Perl hash. SYNOPSIS # Create a Pure Perl Parser my $pParser = new Language::Zcode::Parser "Perl"; # If they didnt put ".z5" at the end, find it anyway $infile = $pParser->find_zfile($infile) || exit;...
Platforms: *nix
License: Freeware | Size: 296.96 KB | Download (95): Language::Zcode::Parser Download |
Config::File is a Perl module to parse a simple configuration file. SYNOPSIS use Config::File; my $config_hash = Config::File::read_config_file($configuration_file); read_config_file parses a simple configuration file and stores its values in an anonymous hash reference. The syntax of the...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (95): Config::File Download |
Basset::Container::Hash Perl module implements a layered hash. The easiest way to explain is with an example: my %x = (a => b); tie my %y, Basset::Container::Hash, %x; #<- %x is the parent of y. print $x{a}; #prints b print $y{a}; #prints b (inherited from x) $y{a} = foo; $y{z} = bar;...
Platforms: *nix
License: Freeware | Size: 143.36 KB | Download (94): Basset::Container::Hash Download |
Simple file and text hash value calculator. Supports more than 130 hash functions including: AP Hash, Adler 16, Adler 32, Adler 8, BKDR Hash, BP Hash, CK SUM MPEG-2, CK Sum, CRC DNP, CRC-16, CRC-16 (IBM), CRC-16 (Kermit), CRC-16 (Modbus), CRC-16 (Sick), CRC-16 (X25), CRC-16 CCITT (0x1D0F), CRC-16...
Platforms: Windows
License: Freeware | Download (94): Easy Hash Download |
Data::PropertyList is a Perl module that can convert arbitrary objects to/from strings. SYNOPSIS use Data::PropertyList qw(astext fromtext); $hash_ref = { items => [ 7 .. 11 ], key => value }; $string = astext($hash_ref); # ... $hash_ref = fromtext($string); print $hash_ref->{items}[0];...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (94): Data::PropertyList Download |
ODBM_File is a Perl module to allow tied access to odbm files. SYNOPSIS use Fcntl; # For O_RDWR, O_CREAT, etc. use ODBM_File; # Now read and change the hash $h{newkey} = newvalue; print $h{oldkey}; ... untie %h; ODBM_File establishes a connection between a Perl hash variable and a...
Platforms: *nix
License: Freeware | Size: 12.2 MB | Download (94): ODBM_File Download |
W3C::LogValidator::Basic is a W3C log validator. It can sort web server log entries by popularity (hits). SYNOPSIS use W3C::LogValidator::Basic; my $b = new W3C::LogValidator::Basic; $b->uris(http://www.w3.org/Overview.html, http://www.yahoo.com/index.html); my $result_string=...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (94): W3C::LogValidator::Basic Download |
PAR::WebStart::PNLP is a Perl module that can parse pnlp files. SYNOPSIS my $file = hello.pnlp; my $obj = PAR::WebStart::PNLP->new(file => $file); my $cfg = $obj->parse(); This module is used to parse PNLP files, which are XML files whose syntax is described later in this document. The...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (94): PAR::WebStart::PNLP Download |
Tie::FileLRUCache is a lightweight but robust filesystem based persistent LRU cache. SYNOPSIS OBJECT INTERFACE use Tie::FileLRUCache; my $cache = Tie::FileLRUCache->new({ -cache_dir => $directory, -keep_last => 100 }); # Inserting value into LRU cache using -key $cache->update({ -key =>...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (92): Tie::FileLRUCache Download |