GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CLASS::WORKFLOW::UTIL::DELTA (3)

.ds Aq ’

NAME

Class::Workflow::Util::Delta - calculate deltas between workflow instances

CONTENTS

SYNOPSIS



        my $next = $transition->apply( $i );

        my $d = Class::Workflow::Util::Delta->new(
                from => $i,
                to   => $next,
        );

        foreach my $field ( keys %{ $d->changes } ) {
                my $change = $d->changes->{$field};
                print "$field changed from $change->{from} to $change->{to}\n";
        }



DESCRIPTION

Usually you need to calculate deltas between workflow instances in order to normalize the database of history changes so that there are no duplicate fields.

This module lets you create an object that represents the change between any two instances (not necessarily related), allowing you to represent a history step.

See Class::Workflow::YAML

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CLASS::WORKFLOW::UTIL::DELTA (3) 2009-05-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.