Subroutine Redefined
Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.6}, sub { ...random sub...}; Test::Stochastic::setup(times => 100,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (105): Test::Stochastic Download |
Geography::Countries is a Perl module with 2-letter, 3-letter, and numerical codes for countries. SYNOPSIS use Geography::Countries; $country = country DE; # Germany @list = country 666; # (PM, SPM, 666, # Saint Pierre and Miquelon, 1) This module maps country names, and their 2-letter,...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (100): Geography::Countries Download |
RFC::RFC822::Address is a Perl module for RFC 822 style address validation. SYNOPSIS use RFC::RFC822::Address qw /valid/; print "Validn" if valid abigail@example.com; This module checks strings to see whether they are have the valid syntax, as defined in RFC 822 [1]. One subroutine,...
Platforms: *nix
License: Freeware | Size: 1.5 MB | Download (111): RFC::RFC822::Address Download |
Tkx::Tutorial Perl module contains a tutorial about how to use Tkx. Tk is a toolkit that allows you to create applications with graphical interfaces for Windows, Mac OS X and X11. The Tk toolkit is native to the Tcl programming language, but its ease of use and cross-platform availability has...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (215): Tkx::Tutorial Download |
Sort::Half::Maker is a Perl module to create half-sort subs easily. SYNOPSIS use Sort::Half::Maker qw(make_halfsort); $sub = make_halfsort( start => [ qw(x y z) ], end => [ qw(a b c) ], fallback => sub { $_[0] cmp $_[1] }, ); @list = sort $sub qw(a y f h w z b t x); # qw(x y z f h t w...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (118): Sort::Half::Maker Download |
C::Include is a package to easy operate with binary data via describing they like C/C++ structs. CLASSES AND PACKAGES C::Include - Header file base parser class C::Include::Struct - Struct wraper class USAGE use C::Include; POSSIBILITY - skip comments; - valid preprocessor...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (115): C::Include Download |
ASNMTAP::Asnmtap::Plugins::SOAP is a Perl module that provides SOAP functions used by ASNMTAP-based plugins. SYNOPSIS use ASNMTAP::Asnmtap::Plugins v3.000.010; use ASNMTAP::Asnmtap::Plugins qw(:PLUGINS); my $objectPlugins = ASNMTAP::Asnmtap::Plugins->new ( _programName =>...
Platforms: *nix
License: Freeware | Size: 1.6 MB | Download (138): ASNMTAP::Asnmtap::Plugins::SOAP Download |
Tree::BPTree is a Perl implementation of B+ trees. SYNOPSIS use Tree::BPTree; # These arguments are actually the defaults my $tree = new Tree::BPTree( -n => 3, -unique => 0, -keycmp => sub { $_[0] cmp $_[1] }, -valuecmp => sub { $_[0] <=> $_[1] }, ); # index the entries in this...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (92): Tree::BPTree Download |
Closure::Loop is a Perl module with redo, last, next for closure based loops. SYNOPSIS package MyIterator; use Closure::Loop; # mixin sub new { my $class = shift; return bless { }, $class; } sub forAll { my $self = shift; my $cb = pop || die "No callback"; for my $i (@_) { eval {...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (97): Closure::Loop Download |
Filter::Macro is a Perl module to make macro modules that are expanded inline. SYNOPSIS In MyHandyModules.pm: package MyHandyModules; use Filter::Macro; # lines below will be expanded into callers code use strict; use warnings; use Switch; use IO::All; use Quantum::Superpositions;...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (104): Filter::Macro Download |
Time::Skew is a Perl module that computes local clock skew with respect to a remote clock. SYNOPISI use Time::Skew # Init Convex Hull and timing data my $hull=[]; my $result={}; # Iterate data point introduction Time::Skew::convexhull($result,$datapoint,$hull); This module supports...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (100): Time::Skew Download |
Parse::Binary::FixedFormat::Variants is a Perl module to convert between variant records and hashes. Parse::Binary::FixedFormat supports variant record formats. To describe a variant structure, pass a hash reference containing the following elements to new. The object returned to handle variant...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (89): Parse::Binary::FixedFormat::Variants Download |
Class::ParmList is a Perl module with methods for processing named parameter lists. SYNOPSIS use Class::ParmList qw(simple_parms parse_parms); $thingy->some_method({ -bgcolor => #ff0000, -textcolor => #000000 }); sub some_method { my ($self) = shift; my ($parm_ref) = @_; my $parms...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (89): Class::ParmList Download |
Devel::DumpSizes is a Perl module to dump the name and size in bytes (in increasing order) of variables that are available at a give point in a script. SYNOPSIS use Devel::DumpSizes qw/dump_sizes/; &Devel::DumpSizes::dump_sizes(); Or,...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (91): Devel::DumpSizes 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 |
List::MRU is a Perl module that implements a simple fixed-size MRU-ordered list. SYNOPSIS use List::MRU; # Constructor $lm = List::MRU->new(max => 20); # Constructor with explicit eq subroutine for obj equality tests $lm = List::MRU->new(max => 20, eq => sub { $_[0]->stringify eq...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (100): List::MRU Download |
Blatte::Builtins is a Perl module with Blatte-callable intrinsics. SYNOPSIS package MyPackage; use Blatte::Builtins; eval(...compiled Blatte program...); This module defines the standard Blatte-callable intrinsic functions. A Blatte intrinsic is simply a Perl subroutine that (a) has...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (87): Blatte::Builtins 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 |
Inline::C is a Perl module that can Write Perl Subroutines in C. Inline::C is a module that allows you to write Perl subroutines in C. Since version 0.30 the Inline module supports multiple programming languages and each language has its own support module. This document describes how to use...
Platforms: *nix
License: Freeware | Size: 92.16 KB | Download (93): Inline::C Download |
SCZ application is a simple set of compression routines for compressing and decompressing arbitrary data. The initial set of routines implement new lossless compression algorithms. Restoration (decompression) is perfect. It is called SCZ, for simple compression format. SCZ is intended as a...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (96): SCZ Download |