NAME

Document::Transform::Transformer - A document transformer. More than meets the eye. Or not.

VERSION

version 1.110400

SYNOPSIS

use Document::Transform::Transformer;

my $transformer = Document::Transform::Transformer->new();
my $altered = $transformer->transform($document, $transform);

DESCRIPTION

Need a simple transformer that mashes up a transform and a document into something awesome? This is your module then.

This is the default for Document::Transformer to use. It expects data structures that conform to the types defined in the Document::Transform::Types module. It implements the interface role Document::Transform::Role::Transformer

PUBLIC_METHODS

transform

(Document, Transform)

transform takes a Document and a Transform and performs the operations contained with the transform against the document. Returns the transformed document.

AUTHOR

Nicholas R. Perez <nperez@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.