Skip Menu |

This queue is for tickets about the YAML-Tiny CPAN distribution.

Report information
The Basics
Id: 36644
Status: rejected
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: dekimsey [...] gmail.com
Cc:
AdminCc:

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



Subject: support for version.pm
Date: Wed, 11 Jun 2008 09:47:50 -0400
To: bug-YAML-Tiny [...] rt.cpan.org
From: "Danny Kimsey" <dekimsey [...] gmail.com>
When using the module version to generate $VERSION information in modules, YAML::Tiny fails. Specifically erroring stating "YAML::Tiny does not support version references at /home/dekimsey/.install/perl/lib/YAML/Tiny.pm line 450." This is caused when using version in conjunction with Module::Install to write a YAML file with the entry "version_from 'lib/Data.pm'" This seems like it'd be a common thing as version /appears/ to be rather popular for handling of version numbers. I'd like to request that YAML::Tiny implement support for it. == #Data.pm 14 package Data; 15 use strict; 16 use warnings; 17 use version; our $VERSION = version->new(qw$Revision: 241 $); == -- Danny.
Subject: Re: [rt.cpan.org #36644] support for version.pm
Date: Thu, 12 Jun 2008 10:56:45 +1000
To: bug-YAML-Tiny [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
This is not a YAML::Tiny bug, it absolutely does not support objects. The bug is probably in Module::Install, which should flatten versions to numbers before handing off to YAML::Tiny. Adam K 2008/6/11 Danny via RT <bug-YAML-Tiny@rt.cpan.org>: Show quoted text
> Wed Jun 11 09:48:14 2008: Request 36644 was acted upon. > Transaction: Ticket created by dekimsey > Queue: YAML-Tiny > Subject: support for version.pm > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: dekimsey@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36644 > > > > When using the module version to generate $VERSION information in > modules, YAML::Tiny fails. Specifically erroring stating "YAML::Tiny > does not support version references at > /home/dekimsey/.install/perl/lib/YAML/Tiny.pm line 450." > > This is caused when using version in conjunction with Module::Install > to write a YAML file with the entry "version_from 'lib/Data.pm'" > > This seems like it'd be a common thing as version /appears/ to be > rather popular for handling of version numbers. I'd like to request > that YAML::Tiny implement support for it. > > == > #Data.pm > 14 package Data; > 15 use strict; > 16 use warnings; > 17 use version; our $VERSION = version->new(qw$Revision: 241 $); > == > > -- > Danny. > >
Not a bug in YAML::Tiny, needs to be fixed upstream