HTML::FromMail::Object - base-class for convertable items
HTML::FromMail::Object is a Mail::Reporter HTML::FromMail::Object is extended by HTML::FromMail::Page
HTML::FromMail::Object->new(OPTIONS)
Option --Default settings {} topic <required>
. settings => HASH-OF-HASHES
Contains the special settings for each of the topics. See HTML::FromMail::new(settings).
. topic => STRING
A symbolic representation of the group of objects which can be handled by the producer. Each extension of this base class will set a value for this option, so you will usually not specify this yourself.
The topic is used to get the right default settings and templates. See HTML::FromMail::new(settings) and HTML::FromMail::new(templates).
$obj->settings([TOPIC])
Returns the settings for objects with a certain TOPIC, by default for objects of the current. An empty hash will be returned when not settings where specified.
$obj->topic
Returns the abstract topic of the producer.
$obj->plain2html(STRING)
Convert a STRING into HTML.
This module is part of HTML-FromMail distribution version 0.11, built on June 08, 2007. Website: http://perl.overmeer.net/html-from-mail/
Copyrights 2003,2004,2007 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
To install HTML::FromMail, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FromMail
CPAN shell
perl -MCPAN -e shell install HTML::FromMail
For more information on module installation, please visit the detailed CPAN module installation guide.