Dne 4.5.2011 21:31, Doug Hunt napsal(a): > Hi perl module authors list: > > I've been having trouble for some time getting two of my modules (listed > in the subject line) to be downloadable via the cpan shell. > > I think it is a problem with getting the version number properly indexed. > With PDL::NetCDF in particular, I've tried several things. I've put a > META.yml in the top level directory, with these line is it: > > provides: > PDL::NetCDF: > file: netcdf.pd > version: 4.1 >
IMHO the trouble is that netcdf.pd file is detected by cpan indexer as "pod document only" not as "perl code + pod document". see http://cpansearch.perl.org/src/DHUNT/PDL-NetCDF-4.12/netcdf.pd The thing is that there is no file with "package PDL::NetCDF;" line in distribution tarball (as NetCDF.pm is generated during installation), thus cpan indexer thinks there is no PDL::NetCDF module and hits in META.yml obviously do not help (all said is just my guess). PDL::Graphics::PLplot is the same story and both seems to be related to PDL::PP concept. As a dirty untested fix ("try-to-fool-cpan-indexer" approach) I would try the following patch to netcdf.pd pp_addpm({At => Top}, <<'EOD'); + package PDL::NetCDF; + =head1 NAME -- kmx _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
