Pod::Elemental::Transformer::List::Converter - Convert a list to... something else
This document describes version 0.002 of Pod::Elemental::Transformer::List::Converter - released July 10, 2015 as part of Pod-Elemental-Transformer-List-Converter.
# somewhere inside your code... my $transformer = Pod::Elemental::Transformer::List::Converter->new; $transformer->transform_node($node);
This Pod::Elemental::Transformer takes a given node's children, and
converts any list commands to another command,
head2 by default.
=overand <=back> commands are dropped entirely.
As you can imagine, it's important to be selective with the nodes you run through this transformer -- if you pass the entire document to it, it will obliterate any lists found.
The command we change
=item elements to; defaults to
Accessor to the command attribute.
Takes a node, and replaces any
=item's with our target command (by default,
=head2). We also drop any command elements found for
Please see those modules/websites for more information related to this module.
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/pod-elemental-transformer-list-converter/issues
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.
Chris Weyl firstname.lastname@example.org
I'm a material boy in a material world
Please note I do not expect to be gittip'ed or flattr'ed for this work, rather it is simply a very pleasant surprise. I largely create and release works like this because I need them or I find it enjoyable; however, don't let that stop you if you feel like it ;)
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999