thrift/lib/perl
Mark Slee 808454ec63 Thrift TBinaryProtocol change
Summary: New Thrift TBinaryProtocol with a version identifier

Reviewed By: aditya, eugene

Test Plan: Modify your services to have strictRead_ and strictWrite_ both set to FALSE. Then redeploy your services and test running clients against them. Once you have clients and servers running stably on this new code, you should redploy versions with strictWrite_ set to TRUE. Once that's all good, we can set strictRead_ to TRUE as well, and eventually deprecate the old protocol code entirely.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665138 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 21:51:57 +00:00
..
lib Thrift TBinaryProtocol change 2007-06-20 21:51:57 +00:00
COPYING Perl library for Thrift 2007-05-16 02:21:06 +00:00
LICENSE Perl library for Thrift 2007-05-16 02:21:06 +00:00
Makefile.PL Perl library for Thrift 2007-05-16 02:21:06 +00:00
README Perl library for Thrift 2007-05-16 02:21:06 +00:00

Thrift Perl Software Library

Author: T Jake Luciani (jakers@gmail.com)
Last Modified: 2007-Apr-28

Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.

Using Thrift with Perl
=====================

Thrift requires Perl >= 5.6.0

Exceptions are thrown with die so be sure to wrap eval{} statments
around any code that contains exceptions.

The 64bit Integers work only upto 2^42 on my machine :-?
Math::BigInt is probably needed.

The only other issue I have with this implementation is the lack of
strict accessor methods, for example: to set a struct with variable
foo you must assign it via hash key:

my $x = new StructWithFoo();
$x->{foo} = "bar";

rather than:

$x->foo("bar");

Please see tutoral and test dirs for examples...

Dependencies
============

Bit::Vector - comes with modern perl installations.