slobo / pod-licensizer-perl Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mschilli/pod-licensizer-perl
Pod::Licensizer CPAN Module
Home Page: http://perlmeister.com
This project forked from mschilli/pod-licensizer-perl
Pod::Licensizer CPAN Module
Home Page: http://perlmeister.com
###################################################################### Pod::Licensizer 0.03 ###################################################################### NAME Pod::Licensizer - Keep your project's AUTHOR and LICENSE sections in sync SYNOPSIS # Command line: $ licensizer # API: use Pod::Licensizer; my $licensizer = Pod::Licensizer->new(); $licensizer->load_file( "MyModule.pm" ); $licensizer->author_patch( 'Bodo Bravo <[email protected]>' ); $licensizer->license_patch( 'Copyright 2011 blah blah blah' ); $licensizer->write_file(); DESCRIPTION Pod::Licensizer helps keeping AUTHOR and LICENSE sections in sync across many source files in a project. licensizer Pod::Licensizer comes with a command line utility, "licensizer", which traverses a source tree, picks files containing POD documentation, and refreshes their AUTHOR and LICENSE sections. You define a ".licensizer.yml" file at the top level of your project containing the desired AUTHOR and LICENSE data like # .licensizer.yml author: | Bodo Bravo <[email protected]> Zach Zulu <[email protected]> license: | Copyright 2002-2011 by Bodo Bravo <[email protected]> and Zach Zulu <[email protected]>. All rights reserved. and then simply run the "licensizer" script. This is helpful if you want to add an author to your project or change the year in the copyright notice. All you have to do is edit the ".licensizer.yml" file and run "licensizer". Advanced format: # .licensizer.yml author: text: | Mike Schilli <[email protected]> mode: verbatim license: text: | Copyright 2011 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. The "verbatim" mode setting makes sure that POD doesn't reformat the text. This is especially useful if you use tabular data (e.g. a vertical column of author names). API "new" Constructor. "$licensizer->load_file( $file )" Load and parse a file containing POD. "$licensizer-">author_patch( "author text", $opts )> Update the POD's AUTHOR section. "$licensizer-">license_patch( "license text", $opts )> Update the POD's LICENSE section. "$licensizer-">write_file( $filename )> Write back the file. If $filename is omitted, the original file is overwritten. IS LICENSIZER A WORD? Strictly speaking, no. But what a boring world that would be if you couldn't make up your own words. LICENSE Copyright 2011 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. AUTHOR 2011, Mike Schilli <[email protected]>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.