Mail::LMLM - List of Mailing Lists Manager
my $renderer =
'extra-classes' => \%extra_mailing_list_classes,
title => "List of the Foo Mailing Lists",
headline => "Foo Mailing Lists",
lists => \@lists,
prolog => \&prolog,
epilog => \&epilog,
The Mail::LMLM module allows users to easily manage HTML directories of mailing
lists of various mailing list managers and hosts.
To use it create a new module of type Mail::LMLM with a new method, while
initializing it with the list of mailing lists (in order of listing), and
other parameters. Then, invoke the render()
function to create the HTML
files within the current directory.
Following is a listing of the parameters
title is what will be displayed in the document inside the <title> tag.
headline is the headline of the main page.
prolog is a callback for a function that will be called with the Mail::LMLM
handle and its appropriate rendering back-end when the main's page prologue
(that comes before the listing itself) is to be displayed. epilog is the same
for the text after the listing itself. Here is an example for it:
my $self = shift;
my $main_r = shift;
$main_r->para( "This is a list of the mailing-lists which are affiliated " .
"with the Israeli Group of Linux Users (IGLU). It includes such " .
"information as how to subscribe/unsubscribe, posting address, " .
"posting guidelines, the address of the mailing-list owner, the " .
"mailing-list's homepage and the online messages archive."
$main_r->text("If you have any comments, suggestions or additions " .
"regarding the information contained here, don't hesitate to " .
"contact the maintainer of these pages at the following e-mail: ");
For more information on how to interface with the renderer consult the
HTML::LMLM::Render reference page.
This is a reference to a hash whose keys are extra IDs for mailing lists
classes, and its values are either the namespace of the Perl module that
implements this class, or a subroutine that creates a new class like that.
This class would be better be sub-classed from one of the classes that ship with
Mail::LMLM. To see examples of how to sub-class, consult the examples section
of the Mail::LMLM distribution.
This is a reference to an array of hash references that contain the information
for the mailing lists. The fields available here are:
- The identifier of the mailing list that will be used as the base name for
its HTML page.
- The class of the mailing list that determines its type. Available built-in
classes are: egroups (A Yahoo-Groups mailing list), ezmlm
(an Ezmlm-based mailing list), listar (a Listar-based mailing
list), listserv ( a Listserv-based mailing list), mailman (a
mailman based mailing list), majordomo (a majordomo-based mailing
- The group base that appears before the host.
- The title that will be displayed at the head of the page.
- The hostname of the mailing list address.
- The homepage URL of the mailing list.
- The description of the mailing list, to be presented in its page.
This can be an handle/Mail::LMLM::Render callback.
- The posting guidelines for the mailing list.
- A URL or a Mail::LMLM::Render callback for displaying the online archive
of the mailing list.
Called on behalf of the constructor to initialize the module. For internal use
Initializes a new module with %params.
Renders the pages.
Shlomi Fish, <http://www.shlomifish.org/>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(This is the MIT X11 License).
This software is Copyright (c) 2018 by unknown.
This is free software, licensed under:
The MIT (X11) License
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a patch to an
existing test-file that illustrates the bug or desired feature.
You can find documentation for this module with the perldoc command.
The following websites have more information about this module, and may be of
help to you. As always, in addition to those websites please use your favorite
search engine to discover more resources.
A modern, open-source CPAN search engine, useful to view POD in HTML format.
- Search CPAN
The default CPAN search engine, useful to view POD in HTML format.
- RT: CPAN's Bug Tracker
The RT ( Request Tracker ) website is the default bug/issue tracking system
The AnnoCPAN is a website that allows community annotations of Perl module
- CPAN Ratings
The CPAN Ratings is a website that allows community ratings and reviews of
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a
- CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on
uploaded CPAN distributions.
- CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the
test results for a distribution on various Perls/platforms.
- CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test
results of all dependencies for a distribution.
Please report any bugs or feature requests by email to "bug-mail-lmlm at
rt.cpan.org", or through the web interface at
<https://rt.cpan.org/Public/Bug/Report.html?Queue=Mail-LMLM>. You will
be automatically notified of any progress on the request by the system.
The code is open to the world, and available for you to hack on. Please feel
free to browse it and play with it, or whatever. If you want to contribute
patches, please send me a diff or prod me to pull from your repository :)
git clone http://bitbucket.org/shlomif/perl-mail-lmlm/overview