You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2016/01/17 20:59:39 UTC

[jira] [Resolved] (THRIFT-3551) Thrift perl library missing package declaration

     [ https://issues.apache.org/jira/browse/THRIFT-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier resolved THRIFT-3551.
---------------------------------
       Resolution: Fixed
         Assignee: Roger Meier
    Fix Version/s: 1.0
                   0.9.4

committed

> 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
>            Assignee: Roger Meier
>             Fix For: 0.9.4, 1.0
>
>
> 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)