Search results for "module:Class::Contract"

Class::Contract - Design-by-Contract OO in Perl. River stage zero No dependents

Background Design-by-contract is a software engineering technique in which each module of a software system specifies explicitly what input (or data or arguments) it requires, and what output (or information or results) it guarantees to produce in re...

GGOEBEL/Class-Contract-1.14 - 26 Jun 2001 12:37:11 UTC

Class::DbC - Add Design By Contract easily and flexibly to existing code. River stage zero No dependents

Class::DbC allows Eiffel style Contracts <https://www.eiffel.com/values/design-by-contract/introduction/> to be easily and flexibly added to existing code. These contracts are separate from the code that they verify, and they can be turned on or not ...

ARUNBEAR/Class-DbC-0.000002 - 10 Feb 2018 18:10:51 UTC

Class::Tag - programmatically label (mark) classes, methods, roles and modules with meta-data tags (key/value pairs) and query those tags River stage zero No dependents

Sometimes it is necessary to programmatically tag modules and classes with some meta-data tags (arbitrary labels or key/value pairs) to be able to assert that you deal with proper classes (modules), methods and roles. Such need typically arises for p...

METADOO/Object-Hybrid-0.07 - 18 Nov 2013 01:46:58 UTC

Class::Tag - programmatically label (mark) classes, methods, roles and modules with meta-data tags (key/value pairs) and query those tags River stage zero No dependents

Sometimes it is necessary to programmatically tag modules and classes with some meta-data tags (arbitrary labels or key/value pairs) to be able to assert that you deal with proper classes (modules), methods and roles. Such need typically arises for p...

METADOO/Class-Tag-0.10 - 18 Nov 2013 19:42:03 UTC

Object::Hybrid - promote Perl primitives (hashes, scalars, arrays, and filehandles), either tie()d or not, to become hybrid objects River stage zero No dependents

Some applications need to accept both plain primitives as well as tie()d primitives with additional (non-perltie) methods and parameters supported by extended interface available through tied() object. For example, application cache may be allowed to...

METADOO/Object-Hybrid-0.07 - 18 Nov 2013 01:46:58 UTC

Class::Meta - Class automation, introspection, and data validation River stage one • 1 direct dependent • 1 total dependent

Class::Meta provides an interface for automating the creation of Perl classes with attribute data type validation. It differs from other such modules in that it includes an introspection API that can be used as a unified interface for all Class::Meta...

DWHEELER/Class-Meta-0.66 - 03 Jul 2012 13:47:28 UTC

Class::Root - framework for writing perl OO modules River stage zero No dependents

We start writing code for class based on *Class::Root* with something like this: 1: package MyClass::Foo; 2: use Class::Root "isa"; 3: package MyClass::Foo::LOCAL; Line 1: is usual, here we define a name of our class. Line 2: compiles *Class::Root* a...

NIF/Class-Root-0.02 - 01 Oct 2007 00:33:54 UTC

Class::Rebless - Rebase deep data structures River stage zero No dependents

Class::Rebless takes a Perl data structure and recurses through its hierarchy, reblessing objects that it finds along the way into new namespaces. This is typically useful when your object belongs to a package that is too close to the main namespace ...

GAAL/Class-Rebless-0.10 - 30 Jul 2011 19:13:49 UTC

Class::Generate - Generate Perl class hierarchies River stage one • 1 direct dependent • 1 total dependent

The "Class::Generate" package exports functions that take as arguments a class specification and create from these specifications a Perl 5 class. The specification language allows many object-oriented constructs: typed members, inheritance, private m...

SHLOMIF/Class-Generate-1.18 - 13 Oct 2020 09:35:55 UTC

Class::Accessor - Automated accessor generation River stage four • 668 direct dependents • 2002 total dependents

This module automagically generates accessors/mutators for your class. Most of the time, writing accessors is an exercise in cutting and pasting. You usually wind up with a series of methods like this: sub name { my $self = shift; if(@_) { $self->{na...

KASEI/Class-Accessor-0.51 - 22 Oct 2017 17:01:15 UTC

Path::Class::Dir - Objects representing directories River stage four • 588 direct dependents • 1864 total dependents

The "Path::Class::Dir" class contains functionality for manipulating directory names in a cross-platform way....

KWILLIAMS/Path-Class-0.37 - 14 Aug 2016 02:37:55 UTC

Class::Interface - A class for implementing/extending interfaces/abstracts in Perl. River stage one • 2 direct dependents • 3 total dependents

Performs some underwater perl-magic to ensure interfaces are interfaces and classes that implement the interface actually do so....

SINISTER/Class-Interface-1.01 - 28 Nov 2008 12:31:14 UTC

Class::Agreement - add contracts to your Perl classes easily River stage zero No dependents

Class::Agreement is an implementation of behavioral contracts for Perl5. This module allows you to easily add pre- and postconditions to new or existing Perl classes. This module provides contracts such as dependent contracts, contracts for higher-or...

IAN/Class-Agreement-0.02 - 13 Dec 2005 04:30:33 UTC

Class::Observable - Allow other classes and objects to respond to events in yours River stage zero No dependents

If you have ever used Java, you may have run across the "java.util.Observable" class and the "java.util.Observer" interface. With them you can decouple an object from the one or more objects that wish to be notified whenever particular events occur. ...

ARISTOTLE/Class-Observable-2.004 - 03 Sep 2022 17:31:45 UTC

Class::Interfaces - A module for defining interface classes inline River stage one • 1 direct dependent • 2 total dependents

This module provides a simple means to define abstract class interfaces, which can be used to program using the concepts of interface polymorphism. Interface Polymorphism Interface polymorphism is a very powerful concept in object oriented programmin...

STEVAN/Class-Interfaces-0.04 - 10 Dec 2004 21:56:32 UTC

Class::PseudoHash - Emulates Pseudo-Hash behaviour via overload River stage zero No dependents

Due to its impact on overall performance of ordinary hashes, pseudo-hashes are deprecated in Perl 5.8. As of Perl 5.10, pseudo-hashes have been removed from Perl, replaced by restricted hashes provided by Hash::Util. Additionally, Perl 5.10 no longer...

AUDREYT/Class-PseudoHash-1.10 - 13 Oct 2007 19:01:46 UTC

Class::Accessor::Ref - Access members by reference River stage one • 1 direct dependent • 1 total dependent

This is an extension of Class::Accessor that allows taking a reference of members of an object. This is typically useful when your class implementation uses a third-party module that expects an in/out parameter in its interface. Without Class::Access...

GAAL/Class-Accessor-Ref-0.05 - 10 May 2007 16:23:04 UTC

Class::Struct::FIELDS - Combine Class::Struct, base and fields River stage zero No dependents

"Class::Struct::FIELDS" exports a single function, "struct". Given a list of element names and types, and optionally a class name and/or an array reference of base classes, "struct" creates a Perl 5 class that implements a "struct-like" data structur...

BINKLEY/Class-Struct-FIELDS-1.1 - 05 Jul 2001 14:24:21 UTC

Class::TransparentFactory - Transparently choose a provider class with an automatic facade River stage zero No dependents

This module is intended for developers who find they need to refactor code away from one provider of functionality to a factory + set of API-compatible providers. It's not that factories are very difficult to write or maintain, but code that uses the...

GAAL/Class-TransparentFactory-0.02 - 27 Dec 2006 11:43:21 UTC

DBIx::Class::Tree::CalculateSets River stage zero No dependents

This is a small utility module that lets you calculate nested sets from an ordinary parent column based tree structure, allowing you to trivially search an entire tree path. Note however, that constructing the search itself is outside the scope of th...

BERLE/DBIx-Class-Tree-CalculateSets-0.04 - 28 Oct 2009 11:55:50 UTC
21 results (0.055 seconds)