Simon Cozens > Mail-Miner-1.01 > Mail::Miner::Assets

Download:
Mail-Miner-1.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View Bugs
Report a bug
Source  

NAME ^

Mail::Miner::Assets - Manage information assets in a Mail::Miner database

DESCRIPTION ^

"Assets" are items of information stored by Mail::Miner "recogniser" plugins. A recogniser can file an asset during the processing stage, and search for assets during the reporting stage.

Hence, here are the two functions this module provides:

file_asset

    file_asset($msgid, $creator, $content)

For instance, suppose I'm Mail::Miner::Recogniser::Language, which attempts to determine what language an email's in, (hey, that's a good idea...) I'd end up calling something like

    file_asset(1234, "Language", "Japanese");