Manual Reference Pages - CPAN::PLUGIN::SPECFILE (3)
CPAN::Plugin::Specfile - Proof of concept implementation of a trivial CPAN::Plugin
# once in the cpan shell
o conf plugin_list push CPAN::Plugin::Specfile
# make permanent
o conf commit
# any time in the cpan shell to write a spec file
o conf plugin_list pop
Implemented as a post-test hook, this plugin writes a specfile after
every successful test run. The content is also written to the
As a side effect, the timestamps of the written specfiles reflect the
linear order of all dependencies.
<B>WARNING:B> This code is just a small demo how to use the plugin
system of the CPAN shell, not a full fledged spec file writer. Do not
expect new features in this plugin.
The target directory to store the spec files in can be set using dir
o conf plugin_list push CPAN::Plugin::Specfile=dir,/tmp/specfiles-000042
The default directory for this is the
plugins/CPAN::Plugin::Specfile directory in the cpan_home
Andreas Koenig <email@example.com>, Branislav Zahradnik <firstname.lastname@example.org>
|perl v5.22.1 ||CPAN::PLUGIN::SPECFILE (3) ||2015-10-17 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.