Shlomi Fish > Mail-LMLM > Mail::LMLM::Render::HTML

Download:
Mail-LMLM-0.6803.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Mail::LMLM::Render::HTML - backend for rendering HTML.

SYNOPSIS ^

    use Mail::LMLM::Render::HTML;

    open O, ">out.html";
    my $r = Mail::LMLM::Render::HTML->new(\*O);

    $r->start_document("My Document", "Head Title");

    $r->start_section("Google", { 'title_url' => "http://www.google.com/", });

    $r->para("Google is a very nice search engine.");
    $r->end_section();
    $r->end_document();
    close(O);

DESCRIPTION ^

This is a derived class of Mail::LMLM::Render that renders HTML.

METHODS ^

start_document($head_title, $body_title)

end_document()

start_section($title [, { 'title_url' => $url } ])

end_section()

start_para()

end_para()

text($text [, $style])

newline()

start_link($url)

end_link()

indent_inc()

indent_dec()

horizontal_line()

email_address($account,$host)

url($url [, $inside])

para($text [, $style])

See the documentation at Mail::LMLM::Render.

initialize()

Construction method. For internal use.

AUTHOR ^

Shlomi Fish http://www.shlomifish.org/.

syntax highlighting: