NAME

Muster::Hook::DeriveFields - Muster hook for field derivation

VERSION

version 0.92

DESCRIPTION

Muster::Hook::DeriveFields does field derivation; that is, derives field values from other fields (aka the meta-data for the Leaf).

This just does a bunch of specific calculations; I haven't figured out a good way of defining derivations in a config file.

METHODS

register

Initialize, and register hooks.

process

Process (scan or modify) a leaf object. This only does stuff in the scan phase. This expects the leaf meta-data to be populated.

my $new_leaf = $self->process(%args);