Github user amillerchip commented on a diff in the pull request:
https://github.com/apache/thrift/pull/831#discussion_r52270450
--- Diff: test/perl/TestClient.pl ---
@@ -250,16 +250,16 @@ sub usage {
#
# SET TEST
#
-my $setout = [];
+my $setout = {};
for (my $i = -2; $i < 3; ++$i) {
- push(@$setout, $i);
+ $setout->{$i} = 1;
--- End diff --
It's just been pointed out to me this this will not work if `$i` is an
object, because it will get serialised to its string representation when used
as the hash key like this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---