Dom Class
Class::Interfaces is a Per module for defining interface classes inline. SYNOPSIS # define some simple interfaces use Class::Interfaces ( Serializable => [ pack, unpack ], Printable => [ toString ], Iterable => [ iterator ], Iterator => [ hasNext, next ] ); # or some more complex ones...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (93): Class::Interfaces Download |
Class::Inner is a perlish implementation of Java like inner classes. SYNOPSIS use Class::Inner; my $object = Class::Inner->new( parent => ParentClass, methods => { method => sub { ... } }, }, constructor => new, args => [@constructor_args], ); Yet another implementation of an...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (98): Class::Inner Download |
Class::Phrasebook is a Perl module that implements the Phrasebook pattern. SYNOPSIS use Class::Phrasebook; my $pb = new Class::Phrasebook($log, "test.xml"); $pb->load("NL"); # using Dutch as the language $phrase = $pb->get("ADDRESS", { street => "Chaim Levanon", number => 88, city =>...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (100): Class::Phrasebook Download |
Class::Date is a perl module, which provides a simple date type for perl. You can create new Class::Date objects with a constructor from different scalar formats, array refs, and hash refs, and then you can easily manipulate it by the builtin "+" and "-" operators (e.g.,...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (89): Class::Date Download |
XML::DOM::Lite::XPath is a Perl module for XPath support for XML::DOM::Lite. SYNOPSIS # XPath use XML::DOM::Lite qw(XPath); $result = XPath->evaluate(/path/to/*[@attr="value"], $contextNode); This XPath library is fairly complete - there are still a few functions outstanding which need to...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (127): XML::DOM::Lite::XPath Download |
[COPYRIGHT] SYNOPSIS use XML::DOM::Lite qw(Parser XSLT); $parser = Parser->new( whitespace => strip ); $xsldoc = $parser->parse($xsl); $xmldoc = $parser->parse($xml); $output = XSLT->process($xmldoc, $xsldoc);.
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (97): XML::DOM::Lite::XSLT 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 |
Class Library for Numbers in short CLN is a library for computations with all kinds of numbers..
Platforms: *nix
License: Freeware | Size: 1.62 MB | Download (93): Class Library for Numbers Download |
Class::AbstractLogic is a Perl module to handle Logic Abstractions. SYNOPSIS # the logic class definition package My::Logic::Foo; use Class::AbstractLogic-base; # a logic action action add, needs [qw(a b)], verify { a => sub { /^d+$/ }, b => sub { /^d+$/ } }, sub { $_{a} + $_{b} };...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (93): Class::AbstractLogic Download |
Class::ArrayObjects is a Perl utility class for array based objects. SYNOPSIS package Some::Class; use Class::ArrayObjects define => { fields => [qw(_foo_ _bar_ BAZ)], }; or package Other::Class; use base Some::Class; use Class::ArrayObjects extend => { class => Some::Class, with...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (103): Class::ArrayObjects Download |
SVG::DOM is a Perl library with DOM (Document Object Model) methods for SVG objects. SVG::DOM provides a selection of methods for accessing and manipulating SVG elements through DOM-like methods such as getElements, getChildren, getNextSibling and so on. Currently only methods that provide...
Platforms: *nix
License: Freeware | Size: 51.2 KB | Download (97): SVG::DOM Download |
Class::Bits is a Perl module with class wrappers around bit vectors. SYNOPSIS package MyClass; use Class::Bits; make_bits( a => 4, # 0..15 b => 1, # 0..1 c => 1, # 0..1 d => 2, # 0..3 e => s4 # -8..7 f => s1 # -1..0 ); package; $o=MyClass->new(a=>12, d=>2); print "o->b is ",...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (90): Class::Bits Download |
Class::Tangram is a Perl module for tangram-friendly classes, DWIM attributes. SYNOPSIS package MyObject; use base qw(Class::Tangram); our $fields = { int => [ qw(foo bar) ], string => [ qw(baz quux) ] }; package main; my $object = MyObject->new(foo => 2, baz => "hello"); print...
Platforms: *nix
License: Freeware | Size: 50.18 KB | Download (106): Class::Tangram Download |
Class::Classless is a Perl framework for classless OOP. SYNOPSIS use strict; use Class::Classless; my $ob1 = $Class::Classless::ROOT->clone; $ob1->{NAME} = Ob1; $ob1->{stuff} = 123; $ob1->{Thing} = 789; my $ob2 = $ob1->clone; $ob2->{NAME} = Ob2; printf "ob1 stuff: <%s>n",...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (92): Class::Classless Download |
PHP HTML Form Generation and Validation Class is a PHP class for easy HTML form generation and validation. If youre a web developer you know that designing HTML forms and writing the PHP code for their validation is a really dull task. And if youre like me you mustve looked around the web to...
Platforms: *nix
License: Freeware | Size: 133.12 KB | Download (131): PHP HTML Form Generation and Validation Class 1.0 Beta Download |
Class::StrongSingleton is a stronger and more secure Singleton base class. SYNOPSIS package My::Singleton::Class; use base qw(Class::StrongSingleton); sub new { my ($class, %my_params) = @_; # create our object instance my $instance = { %my_params }; bless($instance, $class); # and...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (96): Class::StrongSingleton Download |
Class::MOP is a Meta Object Protocol for Perl 5. SYNOPSIS # ... This will come later, for now see # the other SYNOPSIS for more information This module is an attempt to create a meta object protocol for the Perl 5 object system. It makes no attempt to change the behavior or characteristics...
Platforms: *nix
License: Freeware | Size: 73.73 KB | Download (97): Class::MOP Download |
Class::Generate is a Perl module that can generate Perl class hierarchies. SYNOPSIS use Class::Generate qw(class subclass delete_class); # Declare class Class_Name, with the following types of members: class Class_Name => [ s => $, # scalar a => @, # array h => %, # hash c => Class, #...
Platforms: *nix
License: Freeware | Size: 53.25 KB | Download (96): Class::Generate Download |
XML::DOM::Element is an XML element node in XML::DOM. XML::DOM::Element extends XML::DOM::Node. By far the vast majority of objects (apart from text) that authors encounter when traversing a document are Element nodes. Assume the following XML document: < elementExample id="demo" > <...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (102): XML::DOM::Element Download |
Document is a XML DOM Lite Document. SYNOPSIS $root = $doc->documentElement; $node = $doc->getElementById("myid"); # Node creation $element = $doc->createElement("tagname"); $textnode = $doc->createTextNode("some text"); # XPath $nlist = $doc->selectNodes("/xpath/expression"); $node...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (104): XML::DOM::Lite::Document Download |