Macbeth Synopsis
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 (109): Geography::States Download |
Bio::Tree::NodeNHX is a Simple Tree Node with support for NHX tags. SYNOPSIS use Bio::Tree::NodeNHX; my $nodeA = new Bio::Tree::NodeNHX(); my $nodeL = new Bio::Tree::NodeNHX(); my $nodeR = new Bio::Tree::NodeNHX(); my $node = new Bio::Tree::NodeNHX(); $node->add_Descendents($nodeL);...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (114): Bio::Tree::NodeNHX Download |
Net::Flickr::Backup module contains OOP for backing up your Flickr photos locally. SYNOPSIS use Net::Flickr::Backup; use Log::Dispatch::Screen; my $flickr = Net::Flickr::Backup->new($cfg); my $feedback = Log::Dispatch::Screen->new(name => info, min_level => info);...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (100): Net::Flickr::Backup Download |
Acme::Test::Weather is a Perl module to test the weather conditions for a user. SYNOPSIS use Test::Weather; plan tests => 2; # You may only install something # when its nice outside. &isnt_snowing(); &isnt_cloudy(); # output: 1..2 ok 1 - its partly cloudy in Montreal, Canada not...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (106): Acme::Test::Weather Download |
XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.0 SYNOPSIS use XML::SAX::Writer; use XML::Generator::vCard::RDF; my $writer = XML::SAX::Writer->new(); my $driver = XML::Generator::vCard::RDF->new(Handler=>$writer);...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (173): XML::Generator::vCard::RDF Download |
XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.0 SYNOPSIS use XML::SAX::Writer; use XML::Generator::vCard; my $writer = XML::SAX::Writer->new(); my $driver = XML::Generator::vCard->new(Handler=>$writer); $driver->parse_files("test.vcf"); Generate SAX2...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (417): XML::Generator::vCard Download |
Net::Blogger::Engine::Userland::metaWeblog is a userLand metaWeblog API engine. SYNOPSIS my $radio = Blogger->new(engine=>"radio"); $radio->Proxy(PROXY); $radio->Username(USERNAME); $radio->Password(PASSWORD); $radio->metaWeblog()->newPost( title=>"hello", description=>"world",...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (98): Net::Blogger::Engine::Userland::metaWeblog Download |
Net::Delicious::Iterator is an iterator class for Net::Delicious thingies. SYNOPSIS use Net::Delicious::Iterator; my @dates = ({...},{...}); my $it = Net::Delicious::Iterator->new("Date",@dates); while (my $d = $it->next()) { # Do stuff with $d here } NOTES It isnt really expected...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (101): Net::Delicious::Iterator Download |
Net::Delicious::Constants::Config are constant variables for Net::Delicious default configs. SYNOPSIS use Net::Delicious::Constants qw (:config) __top Constant variables for Net::Delicious default configs..
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (93): Net::Delicious::Constants::Config Download |
MT::Import::Mbox::Importer is a wrapper class for importing a collection of mbox folders using MT::Import::Mbox. SYNOPSIS use MT::Import::Config::Importer; my $mt = MT::Import::Mbox::Importer->new("/path/to/config"); $mt->collect(); # You can also do this : my $cfg =...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (248): MT::Import::Mbox::Importer Download |
Class::DBI::Plugin::FilterOnClick is a Perl module to generate browsable and searchable HTML Tables using FilterOnClick in conjunction with Class::DBI. SYNOPSIS # Inside of your sub-class of Class::DBI add these lines: use Class::DBI::Plugin::FilterOnClick; use Class::DBI::Pager; use...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (98): Class::DBI::Plugin::FilterOnClick Download |
Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.$0-encrypted-data", qw(encrypted); # note: login and password are not *really* the login and # password values, only the desired prompt! my...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (94): Data::Encrypted Download |
CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions. A smaller interface change also occurred in version 1.20. SYNOPSIS Heres a simple example:...
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (94): CGI::Cache Download |
Jabber::Lite is a standalone library for communicating with Jabber servers. SYNOPSIS use Jabber::Lite; my $jlobj = Jabber::Lite->new(); $jlobj->connect( %args ); $jlobj->authenticate( %args ); my $stillgoing = 1; while( $stillgoing ){ my $tval = $jlobj->process(); if( $tval == 1 ){...
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (96): Jabber::Lite Download |
RTx::Foundry are base classes for the RT Foundry system. SYNOPSIS Not at the moment. See http://rt.openfoundry.org/ for a demo. Currently, the only way to install RT Foundry is from the ports files in http://rt.openfoundry.org/Foundry/Project/Download/?Queue=OpenFoundry, which requires a...
Platforms: *nix
License: Freeware | Size: 481.28 KB | Download (105): RTx::Foundry Download |
Secret::Simple are secure secrets in configurations and code. SYNOPSIS # OOP style my $ss = Secret::Simple->new(); my $ciphertext = $ss->encrypt($plaintext); my $plaintext = $ss->decrypt($ciphertext); # procedural style my $ciphertext = ssencrypt($plaintext); my $plaintext =...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (100): Secret::Simple Download |
Tao::DBI::st is a Perl module for DBI statements with portable support for named placeholders. SYNOPSIS use Tao::DBI qw(dbi_connect dbi_prepare); $dbh = dbi_connect($args); $sql = q{UPDATE T set a = :a, b = :b where k = :k}; $stmt = $dbh->prepare($sql); $rc = $stmt->execute({ k => $k, a...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (93): Tao::DBI::st 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 |
Number::Bytes::Human is a Perl module that can convert byte count to human readable format. SYNOPSIS use Number::Bytes::Human qw(format_bytes); $size = format_bytes(0); # 0 $size = format_bytes(2*1024); # 2.0K $size = format_bytes(1_234_890, bs => 1000); # 1.3M $size = format_bytes(1E9,...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (98): Number::Bytes::Human Download |
Sub::PatMat can call a version of subroutine depending on its arguments. SYNOPSIS use Sub::PatMat; # basics: sub fact : when($_[0] <= 1) { 1 } sub fact { my ($n) = @_; $n*fact($n-1) } print fact(6); # referring to things other than @_: sub mysort : when($a < $b) { -1 } sub mysort :...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (92): Sub::PatMat Download |