The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zooky::DistIni - Generates a Dist::Zilla dist.ini file

VERSION

version 0.02

SYNOPSIS

  my $meta = {
    type => 'MakeMaker',
    name => 'Foo-Bar',
    version => '0.02',
    author => [ 'Duck Dodgers', 'Ivor Biggun' ],
    license => [ 'Perl_5' ],
    Prereq => {
      'runtime' => {
        'requires' => { 'Moo::Cow' => '0.19' },
      },
    }
  };

  my $distini = Dist::Zooky::DistIni->new( metadata => $meta );
  $distini->write();

DESCRIPTION

Dist::Zooky::DistIni takes meta data and writes a Dist::Zilla dist.ini file.

ATTRIBUTES

metadata

A required attribute. This is a HASHREF of meta data it should contain the keys name, version, author, license and Prereq. See the SYNOPSIS for an example.

METHODS

write

Writes a dist.ini file with the provides metadata. Takes an optional parameter, which is the filename to write to, the default being dist.ini.

NAME

Dist::Zooky::DistIni - Generates a Dist::Zilla dist.ini file

AUTHOR

Chris Williams <chris@bingosnet.co.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Chris Williams.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.