You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Morel (JIRA)" <ji...@apache.org> on 2016/01/13 13:04:39 UTC
[jira] [Created] (THRIFT-3551) Thrift perl library missing package
declaration
David Morel created THRIFT-3551:
-----------------------------------
Summary: Thrift perl library missing package declaration
Key: THRIFT-3551
URL: https://issues.apache.org/jira/browse/THRIFT-3551
Project: Thrift
Issue Type: Bug
Components: Perl - Library
Affects Versions: 0.9.3
Reporter: David Morel
The perl library is missing a {{package Thrift;}} declaration at the top, resulting in the library version {{our $VERSION}} being inaccessible from the outside of the class. It's apparently a very simple fix
{noformat}
--- perl5extralib/Thrift.pm 2016-01-13 12:59:26.000000000 +0100
+++ Downloads/thrift-0.9.3/lib/perl/lib/Thrift.pm 2015-09-27 04:50:44.000000000 +0200
@@ -17,8 +17,6 @@
# under the License.
#
-package Thrift;
-
our $VERSION = '0.9.3';
require 5.6.0;
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)