Skip Menu |

This queue is for tickets about the bioperl CPAN distribution.

Report information
The Basics
Id: 50048
Status: resolved
Priority: 0/
Queue: bioperl

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.6.0
Fixed in: (no value)



Subject: Bio::SeqIO::tinyseq version not parsable by cpanplus
running "cpanp o" with your module installed gives: [...] 2 Unparsable 1.006 Bio::SeqIO::tinyseq CJFIELDS this is because your version is defined as: our $VERSION = ${Bio::Root::Version::VERSION}; and cpanplus only evaluates the line on which $VERSION appears, not the whole file. to fix it, you need to do on one single line: use Bio::Root::Version; our $VERSION = ${Bio::Root::Version::VERSION}; this way, cpanplus will find the version of your module, and will be able to say when it needs to be upgraded.
On Sun Sep 27 12:52:47 2009, JQUELIN wrote: Show quoted text
> running "cpanp o" with your module installed gives: > [...] > 2 Unparsable 1.006 Bio::SeqIO::tinyseq CJFIELDS > > > this is because your version is defined as: > our $VERSION = ${Bio::Root::Version::VERSION}; > > and cpanplus only evaluates the line on which $VERSION appears, not the > whole file. > > to fix it, you need to do on one single line: > use Bio::Root::Version; our $VERSION = ${Bio::Root::Version::VERSION}; > > this way, cpanplus will find the version of your module, and will be > able to say when it needs to be upgraded.
The VERSION isn't supposed to be there and has been removed completely from the latest alpha, 1.6.0_6. Please reopen if this doesn't fix the bug.