| Mark Slee | 254ce20 | 2007-05-16 02:21:06 +0000 | [diff] [blame] | 1 | Thrift Perl Software Library | 
|  | 2 |  | 
|  | 3 | Author: T Jake Luciani (jakers@gmail.com) | 
|  | 4 | Last Modified: 2007-Apr-28 | 
|  | 5 |  | 
|  | 6 | Thrift is distributed under the Thrift open source software license. | 
|  | 7 | Please see the included LICENSE file. | 
|  | 8 |  | 
|  | 9 | Using Thrift with Perl | 
|  | 10 | ===================== | 
|  | 11 |  | 
|  | 12 | Thrift requires Perl >= 5.6.0 | 
|  | 13 |  | 
|  | 14 | Exceptions are thrown with die so be sure to wrap eval{} statments | 
|  | 15 | around any code that contains exceptions. | 
|  | 16 |  | 
|  | 17 | The 64bit Integers work only upto 2^42 on my machine :-? | 
|  | 18 | Math::BigInt is probably needed. | 
|  | 19 |  | 
|  | 20 | The only other issue I have with this implementation is the lack of | 
|  | 21 | strict accessor methods, for example: to set a struct with variable | 
|  | 22 | foo you must assign it via hash key: | 
|  | 23 |  | 
|  | 24 | my $x = new StructWithFoo(); | 
|  | 25 | $x->{foo} = "bar"; | 
|  | 26 |  | 
|  | 27 | rather than: | 
|  | 28 |  | 
|  | 29 | $x->foo("bar"); | 
|  | 30 |  | 
|  | 31 | Please see tutoral and test dirs for examples... | 
|  | 32 |  | 
|  | 33 | Dependencies | 
|  | 34 | ============ | 
|  | 35 |  | 
|  | 36 | Bit::Vector - comes with modern perl installations. | 
|  | 37 |  | 
|  | 38 |  |