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

WWW::AdventCalendar::Article - one article in an advent calendar

VERSION

version 0.093580

DESCRIPTION

Objects of this class represent a single article in a WWW::AdventCalendar. They have a very limited set of attributes. The primary task of this class is the production of an HTML version of the article's body.

ATTRIBUTES

date

This is the date (a DateTime object) on which the article is to be published.

title

This is the title of the article.

package

This is the Perl package that the article describes. This attribute is required, for now, but may become optional in the future.

body

This is the body of the document, as a string. It is expected to be Pod.

calendar

This is the WWW::AdventCalendar object in which the article is found.

body_html

This is the body represented as HTML. It is generated as required by a private builder method.

AUTHOR

  Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.