POD::Credentials - POD credentials OO wrapper (see also, author, license, copyright)


POD-Credentials documentation  | view source Contained in the POD-Credentials distribution.

Index


NAME

Top

POD::Credentials - POD credentials OO wrapper (see also, author, license, copyright)

VERSION

Top

Version 0.04

DESCRIPTION

Top

instance of this class is capable of setting up POD credentials, as see also, author, license, copyright and returning it as string

SYNOPSIS

Top

    use POD::Credentials;
    my $cred = POD::Credentials->new({
 				      author => 'Joe Doe', 
     				      license => <license text, default is Perl artistic>,
 				      copyright => <some text, default is copyright 
     						    by author name with current year'>
     				    });
    print $cred->asString();

## it will automatically set SEE ALSO as the link to the name of the caller's package if defined and not main

METHODS

Top

accessors/mutators are provided by Class::Accessor::Fast for each public field

new()

constructor, accepts single parameter - reference to hash where keys from the list: author copyright license year see_also

author()

accessor/mutator for the AUTHOR pod element

license()

accessor/mutator for the LICENSE pod element

year()

accessor/mutator for the year used in COPYRIGHT

see_also()

accessor/mutator for the SEE ALSO pod element

end_module()

if set then module will be finished with:



    __END__

    1;

and then credentials pod will be added

asString()

   returns string repsresentation, no arguments accepted

AUTHOR

Top

Maxim Grigoriev, maxim_at_fnal_gov

BUGS

Top

Please report any bugs or feature requests to bug-pod-credentials at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POD-Credentials. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc POD::Credentials




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=POD-Credentials

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/POD-Credentials

* CPAN Ratings

http://cpanratings.perl.org/d/POD-Credentials

* Search CPAN

http://search.cpan.org/dist/POD-Credentials

COPYRIGHT & LICENSE

Top


POD-Credentials documentation  | view source Contained in the POD-Credentials distribution.