Perl Examples
Test::XML::XPath is a Perl module to test XPath assertions. SYNOPSIS use Test::XML::XPath tests => 3; like_xpath( , /foo ); # PASS like_xpath( , /bar ); # FAIL unlike_xpath( , /bar ); # PASS is_xpath( bar , /foo, bar ); # PASS is_xpath( bar , /bar, foo ); # FAIL # More...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (88): Test::XML::XPath Download |
HTTPD::GroupAdmin is a Perl module for the management of HTTP server group databases. SYNOPSIS use HTTPD::GroupAdmin (); This software is meant to provide a generic interface that hides the inconsistencies across HTTP server implementations of user and group databases. METHODS new ()...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (87): HTTPD::GroupAdmin Download |
CGI::Builder::Auth::UserAdmin is a Perl module for the management of HTTP server user databases. SYNOPSIS use CGI::Builder::Auth::UserAdmin (); Pay no attention to that man behind the curtain! Move along, nothing to see here! This module was originally part of the HTTPD-User-Manage...
Platforms: *nix
License: Freeware | Size: 51.2 KB | Download (95): CGI::Builder::Auth::UserAdmin Download |
Sort::Versions is a Perl 5 module for sorting of revision-like numbers. SYNOPSIS use Sort::Versions; @l = sort { versioncmp($a, $b) } qw( 1.2 1.2.0 1.2a.0 1.2.a 1.a 02.a ); ... use Sort::Versions; print lower if versioncmp(1.2, 1.2a) == -1; ... use Sort::Versions; %h = (1 => d, 2...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (97): Sort::Versions Download |
CQL::Parser is a Perl module that compiles CQL strings into parse trees of Node subtypes. SYNOPSIS use CQL::Parser; my $parser = CQL::Parser->new(); my $root = $parser->parse( $cql ); CQL::Parser provides a mechanism to parse Common Query Language (CQL) statements. The best description of...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (96): CQL::Parser Download |
Config::Abstract is a Perl extension for abstracting configuration files. SYNOPSIS use Config::Abstract; my $ini = new Config::Abstract(testdata.pl); Config::Abstract is the base class for a number of other classes created to facilitate use and handling of a variety of different...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (87): Config::Abstract Download |
Paus is all about controlling "stuff" with easy scripts. You could for example make the light in your house go on and off in the way you specify. You also could use paus to create a remote controlled mp3box that also has a web-interface at the same time and shows the current song on an LCD...
Platforms: *nix
License: Freeware | Size: 358.4 KB | Download (98): PAUS - Perl AUtomation System 1.0 Download |
Lemonldap::Portal::Sslsso is a Perl extension for the Lemonldap SSO system. SYNOPSIS use Lemonldap::Portal::Sslsso; my $message ; my %params =Vars; my $stack_user=Lemonldap::Portal::Ssslsso->new(formateUser => &my_method); my $urlc; my $urldc; $retour=$stack_user->process(param =>...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (93): Lemonldap::Portal::Sslsso Download |
Lemonldap::Portal::Cda is a Cross Domain Authentification Perl extension for Lemonldap SSO. SYNOPSIS use Lemonldap::Portal::Cda; my $stack_user= Lemonldap::Portal::Cda->new(type=> master); or my $stack_user= Lemonldap::Portal::Cda->new(type=> slave); Lemonldap is a SSO system under GPL....
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (108): Lemonldap::Portal::Cda Download |
Lemonldap::Portal::Standard is a Perl extension for the Lemonldap SSO system. SYNOPSIS use Lemonldap::Portal::Standard; sub my_method { my $self = shift; my $user = $self->{user}; $user.="-cp" if $user !~ /-cp$/; $self->{user} = $user; return ; } my $message = ; my %params =Vars;...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (90): Lemonldap::Portal::Standard Download |
Genezzo::Contrib::Clustered::ModPerlWrap is a Perl module with Mod Perl wrappers for Genezzo. SYNOPSIS StartPage(); Connect("/dev/raw"); ProcessStmt("insert into t1 values (10, test10)"); ProcessStmt("insert into t1 values (11, test11)"); Commit(); FinishPage(); or StartPage();...
Platforms: *nix
License: Freeware | Size: 39.94 KB | Download (93): Genezzo::Contrib::Clustered::ModPerlWrap 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 |
Set::Infinite::Basic is a Perl module with sets of intervals. SYNOPSIS use Set::Infinite::Basic; $set = Set::Infinite::Basic->new(1,2); # [1..2] print $set->union(5,6); # [1..2],[5..6] Set::Infinite::Basic is a Set Theory module for infinite sets. It works on reals, integers, and...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (91): Set::Infinite::Basic Download |
Audio::XMMSClient is a Perl interface to the xmms2 music player. SYNOPSIS use Audio::XMMSClient; $c = Audio::XMMSClient->new( $name ); $c->connect; my $r = $c->playback_status; $r->wait; print $r->value; This module provides a perl interface to the xmms2 client library. It currently...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (89): Audio::XMMSClient Download |
Froody::QuickStart is a Perl module for the froody Quick Start tutorial. At the core of Froody is the concept of Froody Methods, methods that you can call remotely over the web. For example, we have a hypothetical method called "examples.myapi.greet" that can return us greetings. We need to...
Platforms: *nix
License: Freeware | Size: 95.23 KB | Download (91): Froody::QuickStart 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 |
Math::BaseArith is a Perl extension for mixed-base number representation (like APL encode/decode). SYNOPSIS use Math::BaseArith; encode( value, base_list ); decode( representation_list, base_list ); The inspiration for this module is a pair of functions in the APL programming language...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (96): Math::BaseArith Download |
The United States Postal Service (USPS) has on its web site an HTML form at http://www.usps.com/zip4/ for standardizing an address. Given a firm, urbanization, street address, city, state, and zip, it will put the address into standard form (provided the address is in their database) and display...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (134): Scrape::USPS::ZipLookup Perl Module Download |
Statistics::ROC is a Perl module with receiver-operator-characteristic (ROC) curves with nonparametric confidence bounds. SYNOPSIS use Statistics::ROC; my ($y) = loggamma($x); my ($y) = betain($x, $p, $q, $beta); my ($y) = Betain($x, $p, $q); my ($y) = xinbta($p, $q, $beta, $alpha); my...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (95): Statistics::ROC Download |
HTML::CalendarMonthDB is a Perl Module for Generating Persistant HTML Calendars. INTERFACE METHODS * dbname (name of database to use, required if you wish to use a database) * dbuser (database user, default nobody) * dbpass (database user password, default ) * dbcalendar (database...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (92): HTML::CalendarMonthDB Download |