Description
I tried the Perl tutorial, but PerlServer failed as follows:
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.
Adding use Thrift::ServerSocket; solved this error.
Attachments
Issue Links
- links to