NAME

Pod::Weaver::Section::SQL - Document SQL more easily by referencing only the SQL command in POD

VERSION

version 0.03

SYNOPSIS

Update your weaver.ini file with

[SQL]
keywords = SELECT, INSERT, DELETE

It will then gather all =sql section into one unique SQL section in your documentation.

You can let keywords to it's default that is all known SQL::Statement keywords.

METHODS

transform_document

Gathers all

=sql

=cut

Commands into the same Pod document node.

weave_section

Remove the section gathered in transform_document from the source document.

format_sql

my $formated = $section_sql->format_sql('SELECT toto FROM tata');

Reads and format SQL statements into Pod emphasised content.

AUTHOR

Armand Leclercq <armand.leclercq@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Armand Leclercq.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007