Everlong Foo Fighters
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo = foo-shift; foo-print "Hello, $foon"; } So you think...
Platforms: *nix
License: Freeware | Size: 91.14 KB | Download (88): Inline-API 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 (90): Perl6::Parameters Download |
ConfigReader::Simple is a simple configuration file parser. SYNOPSIS use ConfigReader::Simple; # parse one file $config = ConfigReader::Simple->new("configrc", [qw(Foo Bar Baz Quux)]); # parse multiple files, in order $config = ConfigReader::Simple->new_multiple( Files => [ "global",...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (99): ConfigReader::Simple 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 |
Contextual::Return is a Perl module to create context-senstive return values. SYNOPSIS use Contextual::Return; use Carp; sub foo { return SCALAR { thirty-twelve } BOOL { 1 } NUM { 7*6 } STR { forty-two } LIST { 1,2,3 } HASHREF { {name => foo, value => 99} } ARRAYREF { [3,2,1] }...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (97): Contextual::Return Download |
Params::Validate is a Perl module to validate method/function parameters. SYNOPSIS use Params::Validate qw(:all); # takes named params (hash or hashref) sub foo { validate( @_, { foo => 1, # mandatory bar => 0, # optional } ); } # takes positional params sub bar { # first two...
Platforms: *nix
License: Freeware | Size: 79.87 KB | Download (109): Params::Validate Download |
whouses Perl module is an impact analysis in a clearmake build environment. SYNOPSIS Run this script with the -help option for usage details. Here are some additional sample usages with explanations: whouses foobar.h Shows all DOs that make use of any file matching /foobar.h/. whouses...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (87): whouses Download |
Text::WagnerFischer is an implementation of the Wagner-Fischer edit distance. SYNOPSIS use Text::WagnerFischer qw(distance); print distance("foo","four");# prints "2" print distance([0,1,2],"foo","four");# prints "3" my @words=("four","foo","bar"); my...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (103): Text::WagnerFischer Download |
Log::Localized is a Perl module to localize your logging. SYNOPSIS What you most probably want to do is something like: package Foo; use Log::Localized; sub bar { # this message will be displayed if method bars verbosity is >= 1 llog(1,"running bar()"); } # this message will be...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (87): Log::Localized Download |
vars::global is a Perl module that tries to make global variables a little safer. SYNOPSIS # In the place/package where we want to create globals use vars::global create => qw( $foo @bar %baz ); # Add some more global symbols vars::global->create(qw( $hello @world %now )); # Somewhere...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (93): vars::global Download |
Tie::Array::RestrictUpdates can limit the number of times you change elements in an array. SYNOPSIS use Tie::Array::RestrictUpdates; tie @foo,"Tie::Array::RestrictUpdates",1; # Default limit is 1. # Every element from the array can only be changed once @foo = qw(A B C D E); for(0..4) {...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (90): Tie::Array::RestrictUpdates Download |
Class::HPLOO is an easier way to declare classes on Perl, based in the popular class {...} style and ePod. USAGE use Class::HPLOO ; class Foo extends Bar , Baz { use LWP::Simple qw(get) ; ## import the method get() to this package. attr ( array foo_list , int age , string name , foo )...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (99): Class::HPLOO Download |
List::Util Perl module contains a selection of general-utility list subroutines. SYNOPSIS use List::Util qw(first max maxstr min minstr reduce shuffle sum); List::Util contains a selection of subroutines that people have expressed would be nice to have in the perl core, but the usage would...
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (102): List::Util Download |
Scalar::Util is a selection of general-utility scalar subroutines. SYNOPSIS use Scalar::Util qw(blessed dualvar isweak readonly refaddr reftype tainted weaken isvstring looks_like_number set_prototype); Scalar::Util contains a selection of subroutines that people have expressed would be...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (97): Scalar::Util Download |
Data::Dumper module contains stringified perl data structures, suitable for both printing and eval. SYNOPSIS use Data::Dumper; # simple procedural interface print Dumper($foo, $bar); # extended usage with names print Data::Dumper->Dump([$foo, $bar], [qw(foo *ary)]); # configuration...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (97): Data::Dumper 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 |
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl perl] [--cc cc] [--rpclibs rpclibs] rpcfile.x...
Platforms: *nix
License: Freeware | Size: 37.89 KB | Download (90): perlrpcgen Download |
Object::InsideOut is a comprehensive inside-out object support module. SYNOPSIS package My::Class; { use Object::InsideOut; # Numeric field # With combined get+set accessor my @data :Field :Type(numeric) :Accessor(data); # Takes INPUT (or input, etc.) as a mandatory parameter to...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (88): Object::InsideOut Download |
DBD::mysql is a Perl module with MySQL driver for the Perl5 Database Interface (DBI). SYNOPSIS use DBI; $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port"; $dbh = DBI->connect($dsn, $user, $password); $drh = DBI->install_driver("mysql"); @databases =...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (99): DBD::mysql Download |
DBD::mSQL / DBD::mysql is a Perl module with mSQL and mysql drivers for the Perl5 Database Interface (DBI). SYNOPSIS use DBI; $driver = "mSQL"; # or "mSQL1"; $dsn = "DBI:$driver:database=$database;host=$hostname"; $dbh = DBI->connect($dsn, undef, undef); or $driver = "mysql"; $dsn =...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (99): DBD::mSQL Download |