From 88188b1681ed51a8958f6b2b41bcc28a65bc9000 Mon Sep 17 00:00:00 2001 From: Eden Hochbaum Date: Tue, 12 Jul 2016 12:02:22 -0400 Subject: [PATCH] JSONProtocol needs to import Transport constants TTransportException::END_OF_FILE isn't recognized in the standard path --- lib/Thrift/JSONProtocol.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Thrift/JSONProtocol.pm b/lib/Thrift/JSONProtocol.pm index 63d3072..26044ca 100644 --- a/lib/Thrift/JSONProtocol.pm +++ b/lib/Thrift/JSONProtocol.pm @@ -20,6 +20,7 @@ use strict; use warnings; use Thrift; use Thrift::Protocol; +use Thrift::Transport; use base qw(Thrift::Protocol Class::Accessor); use utf8;