thrift/lib/perl
2016-03-19 22:31:40 +09:00
..
lib THRIFT-3643 Perl SSL server crushes if a client disconnect without handshake 2016-02-20 00:15:52 +09:00
test THRIFT-3731 Perl multiplex test is flaky 2016-03-10 11:34:49 +09:00
coding_standards.md THRIFT-3148 Markdown links to coding_standards are dead 2015-05-13 21:40:26 +02:00
Makefile.am Add make dist entires for THRIFT-3402 2016-03-19 22:31:40 +09:00
Makefile.PL change AUTHOR to Apache Thrift <dev@thrift.apache.org> 2012-10-26 20:19:44 +00:00
README.md THRIFT-3053: Added perl SSL Socket support, split SSLSocket and SSLServerSocket out from their base classes, fixed THRIFT-3191 generated perl compiler exception handling code, added perl to make cross, fixed THRIFT-3189 allowing perl to listen on a specific interface through construction arguments. Did not add support in the perl client SSLSocket to verify server certificate authenticity at this time. 2015-07-30 14:19:49 +02:00
test.pl THRIFT-387. Add license headers to a bunch of files 2009-03-30 21:35:00 +00:00

Thrift Perl Software Library

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Using Thrift with Perl

Thrift requires Perl >= 5.6.0

Unexpected exceptions in a service handler are converted to TApplicationException with type INTERNAL ERROR and the string of the exception is delivered as the message.

On the client side, exceptions are thrown with die, so be sure to wrap eval{} statments around any code that contains exceptions.

Please see tutoral and test dirs for examples.

Dependencies

Bit::Vector - comes with modern perl installations. Class::Accessor IO::Socket::INET - comes with modern perl installations. IO::Socket::SSL - required if using SSL/TLS. NET::SSLeay Crypt::SSLeay - for make cross