[ 
https://issues.apache.org/jira/browse/THRIFT-4965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942345#comment-16942345
 ] 

Kengo Seki commented on THRIFT-4965:
------------------------------------

I'd like to assign this issue to me, but it doesn't seem I have a permission to 
do that.
Would you add a contributor permission to me?

> 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
>
> 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)

Reply via email to