Keedi Kim > Pod-Weaver-Section-Encoding-0.100830 > Pod::Weaver::Section::Encoding

Download:
Pod-Weaver-Section-Encoding-0.100830.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.100830   Source  

NAME ^

Pod::Weaver::Section::Encoding - add a encoding pod tag with encoding (for your Perl module)

VERSION ^

version 0.100830

OVERVIEW ^

This section plugin will produce a hunk of Pod giving the encoding of the document as well as an encoding, like this:

    =encoding utf-8

It will look for the first package declaration, and for a comment in this form:

    # ENCODING: utf-8

You have to add [Encoding] in your weaver.* configuration file:

    [@CorePrep]
    
    [Encoding]
    
    [Name]
    [Version]
    
    [Region  / prelude]
    
    ...

I stole this code from Pod::Weaver::Section::Name.

AUTHOR ^

  Keedi Kim - 김도형 <keedi@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2010 by Keedi Kim.

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

syntax highlighting: