[ https://issues.apache.org/jira/browse/QPID-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786525#comment-13786525 ]
ASF subversion and git services commented on QPID-4730: ------------------------------------------------------- Commit 1529269 from [~mcpierce] in branch 'qpid/trunk' [ https://svn.apache.org/r1529269 ] QPID-4730: Losing object references in Perl. Contributed by Hao Chang Yu <h...@redhat.com> > Bug for qpid perl binding. The object is overwritten by the return value when > a function return an integer. > ----------------------------------------------------------------------------------------------------------- > > Key: QPID-4730 > URL: https://issues.apache.org/jira/browse/QPID-4730 > Project: Qpid > Issue Type: Bug > Components: Perl Client > Affects Versions: 0.18 > Reporter: Hao Chang Yu > Assignee: Darryl L. Pierce > Fix For: 0.25 > > > As per subject. Please read the example below for more details. > print("receiver: " . $receiver . "\n"); > print("getCapacity; " . $receiver->getCapacity() . "\n"); > print("receiver: " . $receiver . "\n"); > print("getAvailable: " . $receiver->getAvailable() . "\n"); > receiver: cqpid::Receiver=HASH(0xc0fbb8) > getCapacity: 0 > receiver: 0 > 0: Operation now in progress: Can't call method "getAvailable" without a > package or object reference at ./consumer.pl line 109. -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org