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

NAME

Exherbo::Packager

SYNOPSIS

 use Exherbo::Packager qw/init_config gen_template/;
 my $config_loc = "/etc/exherbo-packager.yml"
 init_config($config_loc);
 gen_template("Exherbo::Packager");

DESCRIPTION

This module exports two functions, one to initialize the configuration of the packager, and the other to generate the exheres. Currently, this package only generates Exheres for Perl modules, but support for other languages is coming soon.

An OO version of this module is also planned, since exporting things into the global namespace is icky.

gen_template($modname)

gen_template takes one argument, and that is the name of the perl module you wish to generate. It will output the exheres in your current directory, in a subdirectory named by the category it chooses.

This will die with an error if the exheres already exists.

init_config

init_config($config_loc)

init_config can optionally take one argument, that being the location of the config file you wish to use for this run of the packager. Once run, it will get all of the configuration information for calls to gen_template().

BUGS

AUTHOR

William Orr <will@worrbase.com>

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 46:

=over should be: '=over' or '=over positive_number'

Around line 52:

You forgot a '=back' before '=head1'