Re: Troubles with CPAN indexing of PDL::NetCDF and PDL::Graphics::PLplot (fwd)

[email protected] (Doug Hunt) Thu, 5 May 2011 10:04:25 -0600 (MDT)
Newsgroups perl.cpan.discuss,perl.module-authors
Message-ID <[email protected]>
Hi Robert:  I think this may be the problem.  Do you mean global as in:

use vars qw($VERSION);
BEGIN {
   $VERSION = '4.10'
};


or as in:

BEGIN {
   our $VERSION = '4.10'
};

Regards,

   Doug Hunt

[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611

On Thu, 5 May 2011, Robert Ginko wrote:

>
> Hi,
>
> On 05/04/2011 09:36 PM, Doug Hunt wrote:
>> Any pointers or hints much appreciated!
>
> '/PDL-NetCDF-4.10/Makefile.PL' says that:
> --------
> 'VERSION_FROM' => 'netcdf.pd',
> --------
>
> Then at './PDL-NetCDF-4.10/netcdf.pd' shouldn't $VERSION be global?
> --------
> BEGIN {
> $VERSION = '4.10'
> };
> --------
>
> regards, Robert
>