The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::FromMail::Object - base-class for convertable items

INHERITANCE

 HTML::FromMail::Object
   is a Mail::Reporter

 HTML::FromMail::Object is extended by
   HTML::FromMail::Page

SYNOPSIS

DESCRIPTION

METHODS

HTML::FromMail::Object->new(OPTIONS)

     Option    Defined in       Default   
     settings                   {}        
     topic                      <required>

    . settings HASH-OF-HASHES

    . 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).

Attributes

$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.

Export

Other methods

$obj->plain2html(STRING)

    Convert a STRING into HTML.

REFERENCES

See the HTML::FromMail website at http://perl.overmeer.net/html-from-mail/ for more details.

COPYRIGHTS

Module version 0.10. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.

Copyright (c) 2003 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.