Hi all: For a long time I've been vexed by the fact that CPAN does not
correctly index my stand-alone PDL modules, such as PDL::NetCDF.
For example, from a CPAN shell:
-------------------------------------------------------------------------------------
$ cpan
cpan[1]> i PDL::NetCDF
Going to read '/home/cosmicops/.cpan/Metadata'
Database was generated on Mon, 03 Jan 2011 06:42:58 GMT
Module id = PDL::NetCDF
DESCRIPTION Reads/Writes NetCDF files from/to PDL objs
CPAN_USERID DHUNT (Douglas Hunt <[email protected]>)
CPAN_VERSION undef
CPAN_FILE Contact Author Douglas Hunt <[email protected]>
DSLIP_STATUS RdcOp
(released,developer,C,object-oriented,Standard-Perl)
INST_FILE (not installed)
cpan[3]> get PDL::NetCDF
Running get for module 'PDL::NetCDF'
The module PDL::NetCDF isn't available on CPAN.
Either the module has not yet been uploaded to CPAN, or it is
temporary unavailable. Please contact the author to find out
more about the status. Try 'i PDL::NetCDF'.
------------------------------------------------------------------------------------
Reading a bit on CPAN about module indexing conventions, I thought the
problem was that there is no .pm file for a stand-alone PDL module for
the CPAN indexer to read, just a
.pd file. Since CPAN also pays attention to the 'provides' field in the
META.yml file, I thought that by adding this line:
'META_MERGE' => {provides => {PDL::NetCDF => {file => 'netcdf.pd', version
=> 4.07}}},
to the WriteMakefile in Makefile.PL, good things would happen. This
generates a reasonable looking META.yml file. I was even sent a nice email
upon submission to CPAN (which I had not seen on prior submissions)
indicating that CPAN had indexed PDL::NetCDF properly.
Still after a long weekend for this information to spread thoughout CPAN,
I still cannot get information on PDL::NetCDF via the CPAN shell.
Does anyone have any idea how this is supposed to work?
Regards,
Doug
[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl