dim - Distribution Maker
# set your name and email address first dim config user.name 'foo bar' dim config user.email 'foo at example.com' # or import user info from $HOME/.gitconfig dim config --import-from-gitconfig # then make distributions dim init Foo::Bar # creates a distribution dim init Foo::Bar Default # ditto dim init Foo::Bar::XS XS # using D::M::Template::XS dim --verbose=4 init Foo::Bar # with verbosity dim init --force Foo::Bar # do `rm -rf Foo-Bar` before init dim init --dry-run Foo::Bar # don't actially init the dist # cd and do something important cd Foo-Bar/ # add new files dim new Baz.pm # creates lib/Foo/Bar/Baz.pm dim new t/001-basic.t # creates a test file dim new xs/Foo-Bar-Baz.xs XS # creates a file with D::M::Template::XS
To install Dist::Maker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Maker
CPAN shell
perl -MCPAN -e shell install Dist::Maker
For more information on module installation, please visit the detailed CPAN module installation guide.