The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Hopen::Tool - Base class for packages that know how to process files

SYNOPSIS

A tool knows how to generate a command or other text that will cause a build system to perform a particular action on a file belonging to a particular language.

A tool is a Data::Hopen::G::Op, so may interact with the current generator ("$Generator" in Data::Hopen). Moreover, the generator will get a chance to visit the op after it is processed.

Maybe TODO: - Each Generator must specify a list of Content-Types (media types) it can consume. Each Tool must specify a specific content-type it produces. Mismatches are an error unless overriden on the hopen command line.