NAME

Config::MVP::BundleInspector - Determine prereqs and INI string from PluginBundles

VERSION

version 0.001

SYNOPSIS

my $inspector = Config::MVP::BundleInspector->new(
  bundle_class => 'SomeApp::PluginBundle::Stuff',
);

$inspector->prereqs;

DESCRIPTION

This module gathers info about the plugin specs from a Config::MVP PluginBundle.

ATTRIBUTES

bundle_class

The class to inspect.

bundle_method

The class method to call that returns the list of plugin specs. Defaults to mvp_bundle_config

bundle_name

Passed to the class method in a hashref as the name value. Defaults to "bundle_class".

plugin_specs

An arrayref of plugin specs returned from the "bundle_class". A plugin spec is an array ref of:

[ $name, $package, \%payload ]

prereqs

A CPAN::Meta::Requirements object representing the prerequisites as determined from the plugin specs.

ini_string

A string representing the bundle's contents in INI format. Generated from the plugin specs by Config::MVP::Writer::INI.

ini_opts

Options to pass to Config::MVP::Writer::INI. Defaults to an empty hashref.

SUPPORT

Perldoc

You can find documentation for this module with the perldoc command.

perldoc Config::MVP::BundleInspector

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-config-mvp-bundleinspector at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Config-MVP-BundleInspector. You will be automatically notified of any progress on the request by the system.

Source Code

https://github.com/rwstauner/Config-MVP-BundleInspector

git clone https://github.com/rwstauner/Config-MVP-BundleInspector.git

AUTHOR

Randy Stauner <rwstauner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Randy Stauner.

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