Class::AbstractLogic

Description

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} }; 1; ... # logic module manager creation use Class::AbstractLogic; my $calm = Class::AbstractLogic::Manager->new; # loading a logic class $calm->load_logic(Foo => My::Logic::Foo); # requesting a result from a logic method my $result = $calm->logic(Foo)->add(a => 11, b => 12); # $result will be false if an exception was caught if ($result) { print result was . $result->value . "n"; } else { print exception raised: . $result->key . "n"; print error message: . $result->error . "n"; }.

Abstractlogic - Logic Abstractions - Classabstractlogic - Perl Module - Logic - Module - Result - Perl - Handle - Libraries - Programming

Published By:Robert Sedlacek

License Type:Freeware

Date Added:25 October, 2010

Version:0.01_01

Price:Free

Downloads:7

Size:16.4 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.

DateAug 12, 2010

AuthorAaron J Mackey

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.

DateOct 4, 2010

AuthorAaron Straup Cope

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

WWW::Webrobot::pod::Testplan is a Perl module that helps you on how to write a test plan for webrobot. A test plan is a list of elements. An element itself may be a request, a (sub) test plan, an include or a cookie control command.

DateAug 25, 2010

AuthorABAS Software AG

Size98.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.

DateAug 26, 2010

AuthorAbhijit Mahabal

Size4.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Games::SGF::Tournament is a Perl module for tournament statistics generator.

DateOct 6, 2010

AuthorAl Nikolov

Size12.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming