<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Sub::Spec::Pod - Generate POD documentation for subs

VERSION
    version 0.04

SYNOPSIS
     perl -MSub::Spec::Pod=gen_pod -e'print gen_pod(module=&gt;"MyModule")'

DESCRIPTION
    This module generates API POD documentation for all subs in specified
    module. Example output:

     =head2 sub1(%args) -&gt; RES

     Summary of sub1.

     Description of sub1...

     Arguments (* denotes required arguments):

     =over 4

     =item * arg1* =&gt; INT (default 0)

     Blah ...

     =item * arg2 =&gt; STR (default none)

     Blah blah ...

     =back

     =head2 sub2(%args) -&gt; RES

     ...

FUNCTIONS
    None of the functions are exported by default, but they are exportable.

  gen_pod(%args) -&gt; POD
    Generate POD documentation.

    Arguments:

    *   module =&gt; STR

        Module name to use. The module will be required if not already so.

    *   path =&gt; STR

        Instruct the function to require the specified path instead of
        guessing from module name. Useful when you want to from a specific
        location (e.g. when building) and do not want to modify @INC.

    *   require =&gt; BOOL (default 1)

        If set to 0, will not attempt to require the module.

SEE ALSO
    Sub::Spec

AUTHOR
    Steven Haryanto &lt;stevenharyanto@gmail.com&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2011 by Steven Haryanto.

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

</pre></body></html>