Foo
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 (89): 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 |
Rose::Object is a simple object base class. SYNOPSIS package MyObject; use Rose::Object; our @ISA = qw(Rose::Object); sub foo { ... } sub bar { ... } ... my $o = MyObject->new(foo => abc, bar => 5); ... Rose::Object is a generic object base class. It provides very little...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (88): Rose::Object Download |
C::DynaLib::Struct is a tool for handling the C `struct data type. SYNOPSIS use C::DynaLib::Struct; Define C::DynaLib::Struct( $struct_tag, $template0, @field_names0, [$template1, @field_names1,] ... ); $rstruct = tie( $struct, $struct_tag [, @initializer_list] ); $value =...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (98): C::DynaLib::Struct Download |
XML::Parser is a perl module for parsing XML documents. SYNOPSIS use XML::Parser; $p1 = new XML::Parser(Style => Debug); $p1->parsefile(REC-xml-19980210.xml); $p1->parse( Hello World ); # Alternative $p2 = new XML::Parser(Handlers => {Start => &handle_start, End => &handle_end,...
Platforms: *nix
License: Freeware | Size: 225.28 KB | Download (98): XML::Parser Download |
Test::Usage is a different approach to testing: selective, quieter, colorful. SYNOPSIS Lets say we are building module Foo.pm. To exercise it, we write a usage examples module, Foo_T.pm, which may eventually look something like this: package Foo_T; use Test::Usage; use strict; use...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (94): Test::Usage Download |
B::Lint module contains Perl lint. SYNOPSIS perl -MO=Lint[,OPTIONS] foo.pl The B::Lint module is equivalent to an extended version of the -w option of perl. It is named after the program lint which carries out a similar process for C programs. OPTIONS AND LINT CHECKS Option words are...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (107): B::Lint Download |
Class::XML is a Perl module for simple XML Abstraction. SYNOPSIS package Foo; use base qw/Class::XML/; __PACKAGE__->has_attributes(qw/length colour/); __PACKAGE__->has_child(bar => Bar); package Bar; use base qw/Class::XML/; __PACKAGE__->has_parent(foo);...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (97): Class::XML Download |
Object::AutoAccessor is an accessor class by using AUTOLOAD. SYNOPSIS use Object::AutoAccessor; my $struct = { foo => { bar => { baz => BUILD OK, }, }, }; # Now lets easily accomplish it. my $obj = Object::AutoAccessor->build($struct); print $obj->foo->bar->baz; # prints BUILD OK...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (90): Object::AutoAccessor Download |
AppConfig::Std is a Perl subclass of AppConfig that provides standard options. SYNOPSIS use AppConfig::Std; $config = AppConfig::Std->new(); # all AppConfig methods supported $config->define(foo); # define variable foo $config->set(foo, 25); # setting a variable $val =...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (87): AppConfig::Std Download |
Software::Packager::Object is a generic object data storage. SYNOPSIS use Software::Packager::Object; This module is used by Software::Packager for holding data for a each item added to the a software package. It provides an easy way of accessing the data for each object to be installed....
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (96): Software::Packager::Object Download |
JDBC is a Perl 5 interface to Java JDBC (via Inline::Java). SYNOPSIS use JDBC; JDBC->load_driver("org.apache.derby.jdbc.EmbeddedDriver"); my $con = JDBC->getConnection($url, "test", "test"); my $s = $con->createStatement(); $s->executeUpdate("create table foo (foo int, bar...
Platforms: *nix
License: Freeware | Size: 1.9 MB | Download (120): JDBC Download |
XML::DOM::Lite is a Lite Pure Perl XML DOM Parser Kit. SYNOPSIS # Parser use XML::DOM::Lite qw(Parser :constants); $parser = Parser->new( %options ); $doc = Parser->parse($xmlstr); $doc = Parser->parseFile(/path/to/file.xml); # strip whitespace (can be about 30% faster) $doc =...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (97): XML::DOM::Lite Download |
SYNOPSIS Example 1 use Config::Magic; use Data::Dumper; $input=q{ Section 1 { [Section 4] #Comment style #1 //Comment style #2 ;Comment style #3 Monkey:1 Monkey=>2 Monkey:=3 < Section 2 > Foo = Bar Baz { Bip:1 Pants==5 } < /Section > < Tasty Cheese="3" / > < Section 5 >...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (113): Config::Magic Download |
Scalar::Footnote is a Perl module that can attach hidden scalars to references. SYNOPSIS use Data::Dumper; use Scalar::Footnote; my $obj = Foo->new; # attach invisible footnote to $obj: $obj->Scalar::Footnote::set( my_key => my footnote ); print Dumper( $obj ); # get it back: my...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (94): Scalar::Footnote Download |