Sub
Mail::Message::Head::FieldGroup is a Perl module with a sub set of fields in a header. INHERITANCE Mail::Message::Head::FieldGroup is a Mail::Reporter Mail::Message::Head::FieldGroup is extended by Mail::Message::Head::ListGroup Mail::Message::Head::ResentGroup...
Platforms: *nix
License: Freeware | Size: 583.68 KB | Download (97): Mail::Message::Head::FieldGroup Download |
Test::Exception is a Perl module to test exception based code. SYNOPSIS use Test::More tests => 5; use Test::Exception; # or if you dont need Test::More use Test::Exception tests => 5; # then... # Check that something died dies_ok { $foo->method1 } expecting to die; # Check that...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (97): Test::Exception Download |
Term::Shell is a simple command-line shell framework. SYNOPSIS package MyShell; use base qw(Term::Shell); sub run_command1 { print "command 1!n"; } sub smry_command1 { "what does command1 do?" } sub help_command1 { <
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (97): Term::Shell Download |
Games::AlphaBeta::Position is a base Position class for use with Games::AlphaBeta. SYNOPSIS package My::GamePos; use base qw(Games::AlphaBeta::Position); sub apply { ... } sub endpos { ... } # optional sub evaluate { ... } sub findmoves { ... } package main; my $pos =...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (97): Games::AlphaBeta::Position Download |
IPC::PubSub is Perl module for Interprocess Publish/Subscribe channels. SYNOPSIS # A new message bus with the DBM::Deep backend # (Other possible backends include Memcached and PlainHash) my $bus = IPC::PubSub->new(DBM_Deep => /tmp/pubsub.db); # A channel is any arbitrary string my...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (96): IPC::PubSub Download |
Thread::Apartment is an apartment threading wrapper for Perl objects. SYNOPSIS package MyClass; use Thread::Apartment::Server; use base qw(Thread::Apartment::Server); sub new { # # the usual constructor # } # # mark some methods as simplex # sub get_simplex_methods { return {...
Platforms: *nix
License: Freeware | Size: 73.73 KB | Download (96): Thread::Apartment Download |
Class::Agreement is a Perl module that add contracts to your Perl classes easily. SYNOPSIS package SomeClass; use Class::Agreement; # use base Class::Accessor or Class::MethodMaker, # or roll your own: sub new { ... } invariant { my ($self) = @_; $self->count > 0; }; precondition...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (96): Class::Agreement 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 |
Games::LMSolve::Base is a base class for puzzle solvers. SYNOPSIS package MyPuzzle::Solver; use Games::LMSolve::Base; @ISA = qw(Games::LMSolve::Base); # Override these methods: sub input_board { ... } sub pack_state { ... } sub unpack_state { ... } sub display_state { ... } sub...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (96): Games::LMSolve::Base Download |
Test::Unit::Procedural Perl module contains a procedural style unit testing interface. SYNOPSIS use Test::Unit::Procedural; # your code to be tested goes here sub foo { return 23 }; sub bar { return 42 }; # define tests sub test_foo { assert(foo() == 23, "Your message here"); } sub...
Platforms: *nix
License: Freeware | Size: 75.78 KB | Download (95): Test::Unit::Procedural Download |
Religion is a Perl module that can generate tracebacks and create and install die() and warn() handlers. This is a second go at a module to simplify installing die() and warn() handlers, and to make such handlers easier to write and control. For most people, this just means that if use use...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (95): Religion Download |
POE::Component::Client::FTP is a Perl module that implements an FTP client POE Component. SYNOPSIS use POE::Component::Client::FTP; POE::Component::Client::FTP->spawn ( Alias => ftp, Username => test, Password => test, RemoteAddr => localhost, Events => [ qw( authenticated put_connected...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (95): POE::Component::Client::FTP Download |
Catalyst::Controller::Constraints contains Constraint Signatures for Controller Actions. SYNOPSIS package MyApp::Controller::Foo; ... use base qw(Catalyst::Controller::Constraints); __PACKAGE__->config( constraints => { # allow only digits for type Integer Integer => qr/^d+$/, #...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (95): Catalyst::Controller::Constraints Download |
Asticones lets you display the icons (or icns files) of the sub-folders of a folder, as if they were albums in iPhoto.You can dynamically change the size to display the icons at, select one and create a file with that icon, or drag and drop files to paste the icon on them all.
Platforms: Mac
License: Freeware | Download (95): Asticones Download |
Test::Unit::TestCase is a unit testing framework base class. SYNOPSIS package FooBar; use base qw(Test::Unit::TestCase); sub new { my $self = shift()->SUPER::new(@_); # your state for fixture here return $self; } sub set_up { # provide fixture } sub tear_down { # clean up after...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (94): Test::Unit::TestCase Download |
Net::Chat::Daemon is a Perl module to run a daemon that is controlled via instant messaging. ABSTRACT This package is intended to serve as a superclass for objects that want to communicate via IM messages within a distributed network of client nodes and a coordinator, without dealing with the...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (94): Net::Chat::Daemon Download |
Sub::Curry is a Perl module to create curried subroutines. SYNOPSIS use Sub::Curry; use Sub::Curry qw/ :CONST curry /; # Import spice constants # and the &curry function. #my $f1 = Sub::Curry::->new(&foo, 1, 2); # Same as below. my $f1 = curry(&foo, 1, 2); my $f2 = $cb1->new(3, 4); my...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (93): Sub::Curry Download |
Sub::Quotelike is a Perl module that allows to define quotelike functions. SYNOPSIS use Sub::Quotelike; sub myq () { my $s = shift; # Do something with $s... return $s; } sub myqq (") { my $s = shift; # Do something with $s... return $s; } print myq/abc def/; print myqq{abc...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (93): Sub::Quotelike Download |
Sub::DeferredPartial is a deferred evaluation / partial application. SYNOPSIS use Sub::DeferredPartial def; $S = def sub : P1 P2 P3 { %_=@_; join , @_{qw(P1 P2 P3)} }; print $S->( P1 => 1, P2 => 2, P3 => 3 )->(); # 123 $A = $S->( P3 => 1 ); # partial application $B = $S->( P3 => 2 );...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (93): Sub::DeferredPartial Download |
You're the most cowardly skipper in the Navy and your sub has wandered into the enemy's busiest port. But you just sit there, afraid to fire, afraid to give away your position.
Platforms: Windows
License: Freeware | Size: 170 KB | Download (93): Up Periscope Download |