NAME

File::Sticker::Derive::Common - derive values from existing meta-data

VERSION

version 4.301

SYNOPSIS

use File::Sticker::Derive::Common;

my $deriver = File::Sticker::Derive::Common->new(%args);

my $derived_meta = $deriver->derive(filename=>$filename,meta=>$meta);

DESCRIPTION

This will derive values from existing meta-data. This is the Common plugin, which derives things common to all files, such as paths, size, and date.

DEBUGGING

whoami

Used for debugging info

METHODS

order

The order of this deriver, ranging from 0 to 99. This makes sure that the deriver is applied in order; useful because a later deriver may depend on data created by an earlier deriver.

derive

Derive common values from the existing meta-data. This is expected to update the given meta-data.

$deriver->derive(filename=>$filename, meta=>$meta);

BUGS

Please report any bugs or feature requests to the author.