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
Class::Workflow::Util::Delta(3) User Contributed Perl Documentation Class::Workflow::Util::Delta(3)

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

        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";
        }

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

2009-05-15 perl v5.32.1

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

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