Skip Menu |

This queue is for tickets about the IO-Tty CPAN distribution.

Report information
The Basics
Id: 99283
Status: resolved
Priority: 0/
Queue: IO-Tty

People
Owner: TODDR [...] cpan.org
Requestors: MARKLE [...] cpan.org
Cc:
AdminCc:

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



Subject: IO::Tty::Constant needs $VERSION to prevent downgrade
CPAN::Shell->upgrade() tries to install an ancient version of IO-Tty because the auto-generated IO::Tty::Constant in v1.12 does not have a $VERSION. CPAN: Module::CoreList loaded ok (v5.20141002) CPAN: CPAN::SQLite loaded ok (v0.204) Package namespace installed latest in CPAN file IO::Tty::Constant undef 0.04 GBARR/IO-Tty-0.04.tar.gz Luckily, version 0.04 cannot be installed in an updated perl because Config.pm does exports "config_sh" not old-timey "&config_sh". The following patch works to keep CPAN from doing this. Thank you. --- Makefile.PL.orig 2014-10-02 15:04:56.000000000 -0700 +++ Makefile.PL 2014-10-02 15:05:56.000000000 -0700 @@ -359,6 +359,8 @@ package IO::Tty::Constant; +our \$VERSION = '$Package_Version'; + use vars qw(\@ISA \@EXPORT_OK); require Exporter;
"does exports" s/b "exports"
On Thu Oct 02 18:20:12 2014, MARKLE wrote: Show quoted text
> "does exports" s/b "exports"
Thanks. https://github.com/toddr/IO-Tty/commit/109af1b244c2b016264e6909be8007ab6b071d19
On 2014-12-14 02:41:48, TODDR wrote: Show quoted text
> On Thu Oct 02 18:20:12 2014, MARKLE wrote:
> > "does exports" s/b "exports"
> > Thanks. > > https://github.com/toddr/IO- > Tty/commit/109af1b244c2b016264e6909be8007ab6b071d19
It seems that this fix was never released (latest stable release is from September 2014, the patch was applied in December 2014).