Skip to content

johannessen/Dist-Zilla-ExplicitPackageForClass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dist::Zilla::Plugin::ExplicitPackageForClass

During dzil build, this FileMunger plugin for Dist::Zilla will look through your code for class declarations and insert a corresponding package statement before them, along with the package version. For the rationale, see "File Layout" in Object::Pad.

Installation

Released versions of the ExplicitPackageForClass plugin may be installed via CPAN:

cpanm Dist::Zilla::Plugin::ExplicitPackageForClass

CPAN distribution

To install a development version from this repository, run the following steps:

git clone https://github.com/johannessen/Dist-Zilla-ExplicitPackageForClass
cd Dist-Zilla-ExplicitPackageForClass
cpanm Dist::Zilla::PluginBundle::Author::AJNN
dzil install

This is a “Pure Perl” module, so you generally do not need Dist::Zilla to contribute patches. You can simply clone the repository and run the test suite using prove instead.

About

Dist::Zilla plugin to insert an explicit package statement for class declarations

Resources

License

Stars

Watchers

Forks

Languages