-
-
21 Mar 2014 10:15:55 UTC
- Distribution: Dist-Zilla-Plugin-InsertCopyright
- Module version: 0.005
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (3662 / 12 / 0)
- Kwalitee
Bus factor: 1- 97.22% Coverage
- License: apache_2_0
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (15.05KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- ACKNOWLEDGMENTS
- SEE ALSO
- SUPPORT
- AUTHOR
- CONTRIBUTORS
- COPYRIGHT AND LICENSE
NAME
Dist::Zilla::Plugin::InsertCopyright - Insert copyright statement into source code files
VERSION
version 0.005
SYNOPSIS
In your dist.ini:
[InsertCopyright]
In your source files (before
__END__
):# COPYRIGHT
DESCRIPTION
This module replaces a special
# COPYRIGHT
comment in your Perl source files with a short notice appropriate to your declared copyright. The special comment must be placed before__END__
. Only the first such comment will be replaced.It is inspired by excellent Dist::Zilla::Plugin::Prepender but gives control of the copyright notice placement instead of always adding it at the start of a file.
I wrote this to let me put copyright statements at the end of my code to keep line numbers of code consistent between the generated distribution and the repository source. See Dist::Zilla::Plugin::OurPkgVersion for another useful plugin that preserves line numbering.
ACKNOWLEDGMENTS
Code in this module is based heavily on Dist::Zilla::Plugin::OurPkgVersion by Caleb Cushing and Dist::Zilla::Plugin::Prepender by Jérôme Quelin. Thank you to both of them for their work and for releasing it as open source for reuse.
SEE ALSO
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at https://github.com/dagolden/Dist-Zilla-Plugin-InsertCopyright/issues. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/dagolden/Dist-Zilla-Plugin-InsertCopyright
git clone https://github.com/dagolden/Dist-Zilla-Plugin-InsertCopyright.git
AUTHOR
David Golden <dagolden@cpan.org>
CONTRIBUTORS
Jean-Damien Durand <jeandamiendurand@free.fr>
Keedi Kim <keedi.k@gmail.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Module Install Instructions
To install Dist::Zilla::Plugin::InsertCopyright, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::Plugin::InsertCopyright
perl -MCPAN -e shell install Dist::Zilla::Plugin::InsertCopyright
For more information on module installation, please visit the detailed CPAN module installation guide.