nearing the home stretch

[email protected] (James Muir)
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
Hi,

I'm working on a module that I hope to place on CPAN in the near future. 
I have an account, and a name space, and I've written tests and pod for 
my module. My module name space is Gtk2::Ex::MindMapView, and I have 
several modules in this name space. For example,

Gtk2::Ex::MindMapView
Gtk2::Ex::MindMapView::Item
Gtke::Ex::MindMapView::Layout::Balanced

Question 1) In my Makefile.PL do I specify all the modules or just the 
main one  (Gtk2::Ex::MindMapView)? How do I specify all the modules? My 
Makefile.PL is as follows:

use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME                => 'Gtk2::Ex::MindMapView',
    AUTHOR              => 'James Muir <[email protected]>',
    VERSION_FROM        => 'lib/Gtk2/Ex/MindMapView.pm',
    ABSTRACT_FROM       => 'lib/Gtk2/Ex/MindMapView.pm',
    PL_FILES            => {},
    PREREQ_PM => {
        'Test::More' => 0,
        'version'    => 0,
    },
    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean               => { FILES => 'Gtk2-Ex-MindMapView-*' },
);


Question 2) What is the best practice when it comes to creating build 
scripts? Should I use Makefile.PL or Build.PL or both?

Question 3) Are test scripts for all modules required? I have written 11 
test scripts to test 13 modules. Is this acceptable? All modules are 
exercised by the 11 test scripts.

Thanks for your help.
-James
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.