The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pod::Weaver::Plugin::Encoding - Add an encoding command to your POD

SYNOPSIS

In your weaver.ini:

  [-Encoding]

or

  [-Encoding]
  encoding = koi8-r

DESCRIPTION

This section will add an =encoding command like

  =encoding UTF-8

to your POD.

ATTRIBUTES

encoding

The encoding to declare in the =encoding command. Defaults to UTF-8.

METHODS

finalize_document

This method prepends an =encoding command with the content of the encoding attribute's value to the document's children.

Does nothing if the document already has an =encoding command.

SEE ALSO

Pod::Weaver::Section::Encoding is very similar to this module, but expects the encoding to be specified in a special comment within the document that's being woven.

AUTHORS

  • Florian Ragwitz <rafl@debian.org>

  • Sergey Romanov <sromanov@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Florian Ragwitz.

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