Bottle Obj
Geography::States is a Perl module with map states and provinces to their codes, and vice versa. SYNOPSIS use Geography::States; my $obj = Geography::States -> new (COUNTRY [, STRICT]); EXAMPLES my $canada = Geography::States -> new (Canada); my $name = $canada -> state (NF); #...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (103): Geography::States Download |
XML::MyXML is a simple XML module. SYNOPSIS use XML::MyXML qw(tidy_xml xml_to_object); my $xml = "< item >< name >Table< /name >< price >< usd >10.00< /usd >< eur >8.50< /eur >< /price >< /item >"; print tidy_xml($xml); my $obj = xml_to_object($xml); print "Price in Euros = " ....
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (95): XML::MyXML 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 |
Class::Struct::FIELDS module combine Class::Struct, base and fields. SYNOPSIS (This page documents Class::Struct::FIELDS v.1.1.) use Class::Struct::FIELDS; # declare struct, based on fields, explicit class name: struct (CLASS_NAME => { ELEMENT_NAME => ELEMENT_TYPE, ... }); use...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (92): Class::Struct::FIELDS Download |
Tie::ListKeyedHash is a system allowing the use of anonymous arrays as keys to a hash. SYNOPSIS use Tie::ListKeyedHash; [$X =] tie %hash, Tie::ListKeyedHash; my $live_key = [key,items,live]; $hash{$live_key} = Hello!; $hash{[key,trees,grow]} = Goodbye!; print...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (98): Tie::ListKeyedHash 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 |
Bio::Tools::Run::TribeMCL is a method for clustering proteins into related groups, which are termed protein families. SYNOPSIS use Bio::Tools::Run::TribeMCL; use Bio::SearchIO; # 3 methods to input the blast results # straight forward raw blast output (NCBI or WU-BLAST) my @params =...
Platforms: *nix
License: Freeware | Size: 829.44 KB | Download (213): Bio::Tools::Run::TribeMCL Download |
Array::Each::Tutorial - POD giving various examples how to use Array::Each. SYNOPSIS man Array::Each man Array::Each::Tutorial or perldoc Array::Each perldoc Array::Each::Tutorial Overview This tutorial contains only POD, so dont do this: use Array::Each::Tutorial; # dont do this...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (121): Array::Each::Tutorial Download |
B::JVM::Jasmin::CompileState is an internal package used by B::JVM::Jasmin to keep state of compilation. SYNOPSIS use B::JVM::Jasmin::CompileState; my $state = new B::JVM::Jasmin::CompileState([HASHREF]); This class is used to store the internal state of the compiler as it runs. Certain...
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (344): B::JVM::Jasmin::CompileState Download |
Myco::Entity is a common base class for all Myco entity classes. SYNOPSIS ### Entity class definition package Myco::Foo; use base qw(Myco::Entity); # Start building metadata my $metadata = Myco::Entity::Meta->new ( name => __PACKAGE__, tangram => { table => Foo } );...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (89): Myco::Entity Download |
Text::Scraper contains structured data from (un)structured text. SYNOPSIS use Text::Scraper; use LWP::Simple; use Data::Dumper; # # 1. Get our template and source text # my $tmpl = Text::Scraper->slurp(*DATA); my $src = get(http://search.cpan.org/recent) || die $!; # # 2. Extract...
Platforms: *nix
License: Freeware | Size: 46.08 KB | Download (142): Text::Scraper Download |
Data::Stag::HashDB is a perl used for building indexes over Stag files or objects. SYNOPSIS # parsing a file into a hash my $hdb = Data::Stag::HashDB->new; $hdb->unique_key("ss_details/social_security_no"); $hdb->record_type("person"); my $obj = {}; $hdb->index_hash($obj);...
Platforms: *nix
License: Freeware | Size: 440.32 KB | Download (129): Data::Stag::HashDB Download |
Bio::Ontology::Relationship is a relationship for an ontology. SYNOPSIS $rel = Bio::Ontology::Relationship->new( -identifier => "16847", -subject_term => $subj, -object_term => $obj, -predicate_term => $pred ); This is a basic implementation of Bio::Ontology::RelationshipI. The...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (109): Bio::Ontology::Relationship Download |
Class::Std is a Perl module to support for creating standard "inside-out" classes. SYNOPSIS package MyClass; use Class::Std; # Create storage for object attributes... my %name : ATTR; my %rank : ATTR; my %snum : ATTR; my %public_data : ATTR; # Handle initialization of objects of...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (93): Class::Std Download |
Text::Kakasi::JP is a Japanese Perl extension for Text::Kakasi. SYNOPSIS use Text::Kakasi; # functional $res = Text::Kakasi::getopt_argv(kakasi, -ieuc, -w); $str = Text::Kakasi::do_kakasi($japanese_text); # object-oriented $obj = Text::Kakasi->new(-ieuc,-w); $str =...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (94): Text::Kakasi::JP Download |
dtRdr::Config is a Perl module with Factory class for configuration system. Factory Methods factory_read_config Constructor function (see new) my $obj = factory_read_config($file); new $conf = dtRdr::Config->new($file); get_library_info my @libraries = $conf->get_library_info;.
Platforms: *nix
License: Freeware | Size: 2.8 MB | Download (99): dtRdr::Config Download |
WWW::Babelfish is a Perl extension for translation via Babelfish or Google. SYNOPSIS use WWW::Babelfish; $obj = new WWW::Babelfish( service => Babelfish, agent => Mozilla/8.0, proxy => myproxy ); die( "Babelfish server unavailablen" ) unless defined($obj); $french_text = $obj->translate(...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (102): WWW::Babelfish Download |
Proc::BackOff::Linear is a generic module meant to be directly inherited from and then modified by overloading the calculate_back_off object method. SYNOPSIS Usage: use Proc::BackOff::Linear; my $obj = Proc::BackOff::Linear->new( { $slope => 5, x => count, b => 0 ); # sequence would be...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (101): Proc::BackOff::Linear Download |
OzDB is a database Perl interface module for OzBot. SYNOPSIS use OzDB; The OzDB Perl module handles authentication and access control for the OzBot based utility bots. The basic database format is the authentication schema. This is based on a numerical ordering authentication system. If the...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (94): OzDB Download |
SQL::Abstract::Limit is a portable LIMIT emulation. SYNOPSIS use SQL::Abstract::Limit; my $sql = SQL::Abstract::Limit->new( limit_dialect => LimitOffset );; # or autodetect from a DBI $dbh: my $sql = SQL::Abstract::Limit->new( limit_dialect => $dbh ); # or from a Class::DBI class: my...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (98): SQL::Abstract::Limit Download |