develooper Front page | perl.cpan.discuss | Postings from May 2011

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

Thread Previous
From:
Robert Ginko
Date:
May 5, 2011 10:13
Subject:
Re: Troubles with CPAN indexing of PDL::NetCDF and PDL::Graphics::PLplot(fwd)
Message ID:
4DC2CDE6.6080701@3457.eu

Hi,

----
our $VERSION = '4.10';
----
.. should be sufficient.

regards, Robert


On 05/05/2011 06:04 PM, Doug Hunt wrote:
> 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
> 
> dhunt@ucar.edu
> 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
>>
> 

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About