Sub::Documentation::Attributes - Use attributes to declare documentation
version 1.100880
use Sub::Documentation::Attributes; sub say : Purpose(prints its arguments, appending a newline) : Param(@text; the text to be printed) : Deprecated(use Perl6::Say instead) { my $self = shift; print @_, "\n"; }
This module provides attributes so you can declare documentation with the subroutine or variable you are documenting.
The following attributes are provided:
Purpose
Id
Author
Param
Returns
Throws
Example
Default
This is the attribute handler for all attributes.
See perlmodinstall for information and options on installing Perl modules.
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Sub-Documentation.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Sub-Documentation/.
The development version lives at http://github.com/hanekomu/Sub-Documentation/. Instead of sending patches, please fork this project using the standard git and github infrastructure.
Marcel Gruenauer <marcel@cpan.org>
This software is copyright (c) 2010 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Sub::Documentation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sub::Documentation
CPAN shell
perl -MCPAN -e shell install Sub::Documentation
For more information on module installation, please visit the detailed CPAN module installation guide.