Class Collection
Class::Accessor::Fast::Contained is a Perl module for fast accessors with data containment. SYNOPSIS package Foo; use base qw(Class::Accessor::Fast::Contained); # The rest is the same as Class::Accessor::Fast This module does two things differently to the venerable Class::Accessor::Fast...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (101): Class::Accessor::Fast::Contained Download |
Class::Cloneable is a base class for Cloneable objects. SYNOPSIS package MyObject; our @ISA = (Class::Cloneable); # calling clone on an instance of MyObject # will give you full deep-cloning functionality This module provides a flexible base class for building objects with cloning...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (101): Class::Cloneable Download |
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 |
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 |
C Comic Collection project is a GTK application for downloading, cataloging, and viewing Web comics. It uses a MySQL database. To compile this software, just type "make". It requires development libraries for gtk, gtk_imlib, cURL, mysql and pthreads. If youre on Linux these should come with...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (104): C Comic Collection 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 |
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 |
Class::Prototyped::Mixin Perl module contains Mixin Support for Class::Prototyped. SYNOPSIS Usage one: whip up a class and toss it in a scalar package HelloWorld; sub hello { my ($self, $age) = @_; return "Hello World! I am $age years old" } package HelloWorld::Uppercase; use base...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (92): Class::Prototyped::Mixin Download |
Class::DispatchToAll Perl module can dispatch a method call to all inherited methods. SYNOPSIS package My::Class; our @ISA=qw(SomeClass SomeOtherClass More::Classes); use Class::DispatchToAll qw(dispatch_to_all); my $self=bless {},My::Class # not a proper constructor, I know.. # this...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (88): Class::DispatchToAll Download |
Exception::Class::TCF is a Java/C++ style exception handling. SYNOPSIS try BLOCK [ [catch] NAME FUN_REF ]* throw [ EXCEPTION LIST ] package EnclosureException; @ISA = qw(Exception::Class::TCF); package main; use Exception::Class::TCF; try { if ($Lost) { throw new...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (88): Exception::Class::TCF Download |