Muster::Hook::DeriveFields - Muster hook for field derivation
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.
Initialize, and register hooks.
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);