GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CPAN::PLUGIN::SPECFILE (3)

.ds Aq ’

NAME

CPAN::Plugin::Specfile - Proof of concept implementation of a trivial CPAN::Plugin

CONTENTS

SYNOPSIS



  # 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
  test Acme::Meta

  # disable
  o conf plugin_list pop



DESCRIPTION

Implemented as a post-test hook, this plugin writes a specfile after every successful test run. The content is also written to the terminal.

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.

    OPTIONS

The target directory to store the spec files in can be set using dir as in



  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 directory.

AUTHOR

Andreas Koenig <andk@cpan.org>, Branislav Zahradnik <barney@cpan.org>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.22.1 CPAN::PLUGIN::SPECFILE (3) 2015-10-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.