blob: 51247e04428a292d670b96d1ea2afd4d0b9b7cf9 [file] [log] [blame] [view]
Mark Slee254ce202007-05-16 02:21:06 +00001Thrift Perl Software Library
2
Bryan Duxburydef30a62009-04-08 00:19:37 +00003License
4=======
5
6Licensed to the Apache Software Foundation (ASF) under one
7or more contributor license agreements. See the NOTICE file
8distributed with this work for additional information
9regarding copyright ownership. The ASF licenses this file
10to you under the Apache License, Version 2.0 (the
11"License"); you may not use this file except in compliance
12with the License. You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16Unless required by applicable law or agreed to in writing,
17software distributed under the License is distributed on an
18"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19KIND, either express or implied. See the License for the
20specific language governing permissions and limitations
21under the License.
Mark Slee254ce202007-05-16 02:21:06 +000022
23Using Thrift with Perl
24=====================
25
26Thrift requires Perl >= 5.6.0
27
Jim Kingf5f1b352015-06-24 13:47:24 -040028Unexpected exceptions in a service handler are converted to
29TApplicationException with type INTERNAL ERROR and the string
30of the exception is delivered as the message.
Mark Slee254ce202007-05-16 02:21:06 +000031
Jim Kingf5f1b352015-06-24 13:47:24 -040032On the client side, exceptions are thrown with die, so be sure
33to wrap eval{} statments around any code that contains exceptions.
Mark Slee254ce202007-05-16 02:21:06 +000034
Jim Kingf5f1b352015-06-24 13:47:24 -040035Please see tutoral and test dirs for examples.
Mark Slee254ce202007-05-16 02:21:06 +000036
37Dependencies
38============
39
Jim Kingf5f1b352015-06-24 13:47:24 -040040Bit::Vector - comes with modern perl installations.
Mark Slee82664432007-09-19 06:49:30 +000041Class::Accessor
Jim Kingf5f1b352015-06-24 13:47:24 -040042IO::Socket::INET - comes with modern perl installations.
43IO::Socket::SSL - required if using SSL/TLS.
44NET::SSLeay
45Crypt::SSLeay - for make cross