NAME

Module::Packer - Make starter class from template module and unpack as different module.

SYNOPSIS

$ module-packer --template MyApp --starter Foo::Starter

#or using class
use Module::Packer;
my $packer = Module::Packer->new( dir => "./" );
$packer->make_starter( { template => 'MyApp', starter => 'Foo::Starter' } );

# generate Starter.pm


# if starter class is generated
# in your starter script
use Foo::Starter;
my $starter = Foo::Starter->new;
$starter->run;
# if ARGV[0] is Bar, Bar class and other files like MyApp are genrated

DESCRIPTION

Module::Packer is simple script and classes for making starter script. This module make starter class from template module and unpack as different module.

AUTHOR

Yusuke Wada <yusuke at kamawada.com>

SEE ALSO

LICENSE

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