[ https://issues.apache.org/jira/browse/QPID-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535012#comment-13535012 ]
Darryl L. Pierce commented on QPID-4466: ---------------------------------------- Thank you for this. I'm also updating the stable APIs on top of the language bindings to include support for the multiplication operator. > Cannot multiply durations in perl bindings > ------------------------------------------ > > Key: QPID-4466 > URL: https://issues.apache.org/jira/browse/QPID-4466 > Project: Qpid > Issue Type: Bug > Affects Versions: 0.18 > Environment: RHEL6 > Reporter: Jimmy Jones > Assignee: Darryl L. Pierce > Attachments: perl-duration-multiply.patch > > > eg. > {{my $message = $receiver->fetch($cqpid_perl::Duration::SECOND*2);}} > results in the error > {{No matching function for overloaded 'Receiver_fetch' at ./hello_world3.pl > line 45.}} > This might be because the operator* is not a member function, so SWIG has not > wrapped it correctly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org