Skip Menu |

This queue is for tickets about the pod2pdf CPAN distribution.

Report information
The Basics
Id: 73182
Status: new
Priority: 0/
Queue: pod2pdf

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

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



Subject: Producer string in PDF info is "App::pod2pdf version unknown"
Date: Mon, 12 Dec 2011 11:08:35 +0800
To: bug-pod2pdf [...] rt.cpan.org
From: Guo Yixuan <culu.gyx [...] gmail.com>
Perl: This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int OS : Debian/testing Package: pod2pdf Version: 0.42-2 The version info of generated PDF is wrong ("unknown"). The cause is in lib/App/pod2pdf.pm, line 427 my $version = $::{$class.'::'}{VERSION} ? ${ $::{$class.'::'}{VERSION} } : 'unknown'; the result is that $version is set to "unknown". This is because $class is "App::pod2pdf", and to access the type glob of $App::pod2pdf::VERSION, the code has to be like this: $::{"App::"}{"pod2pdf::"}{VERSION} not $::{"App::pod2pdf::"}{VERSION} I wonder if it is really needed to care for $VERSION in some derived class, if not, simply "$version = $App::pod2pdf::VERSION" is enough. Guo Yixuan
Subject: [rt.cpan.org #73182] A patch
Date: Wed, 11 Jan 2012 13:54:43 +0800
To: bug-pod2pdf [...] rt.cpan.org
From: Guo Yixuan <culu.gyx [...] gmail.com>
The attached patch will fix the bug.

Message body is not shown because sender requested not to inline it.