thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duru Can Celasun (Jira)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (THRIFT-4965) Perl tutorial server doesn't work due to the lack of use statement
Date Tue, 01 Oct 2019 23:16:00 GMT

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

Duru Can Celasun updated THRIFT-4965:
-------------------------------------
    Comment: was deleted

(was: Only committers can be assigned to issues, but this isn't necessary for contributing.
Simply read the [contributor guide|https://github.com/apache/thrift/blob/master/CONTRIBUTING.md]
and send a pull request on [Github|https://github.com/apache/thrift/].)

> Perl tutorial server doesn't work due to the lack of use statement
> ------------------------------------------------------------------
>
>                 Key: THRIFT-4965
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4965
>             Project: Thrift
>          Issue Type: Bug
>          Components: Tutorial
>            Reporter: Kengo Seki
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I tried the Perl tutorial, but PerlServer failed as follows:
> {code}
> thrift$ cd tutorial
> thrift/tutorial$ thrift --gen perl shared.thrift
> thrift/tutorial$ thrift --gen perl tutorial.thrift
> thrift/tutorial$ cd perl
> thrift/tutorial/perl$ perl -I../../lib/perl/blib/lib PerlServer.pl 
> Can't locate object method "new" via package "Thrift::ServerSocket" (perhaps you forgot
to load "Thrift::ServerSocket"?) at PerlServer.pl line 109.
> {code}
> Adding {{use Thrift::ServerSocket;}} solved this error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message