Subject: | Incorrect synopsis for SOAP::Trace |
Date: | Thu, 13 Oct 2016 15:47:11 +0100 |
To: | "bug-SOAP-Lite [...] rt.cpan.org" <bug-SOAP-Lite [...] rt.cpan.org> |
From: | Daniel Beardsmore <daniel [...] trustnetworks.co.uk> |
The synopsis for SOAP::Trace indicates that you can write:
use SOAP::Lite +trace => signal => \&callback;
This is incorrect on two counts: this invocation ignores the callback entirely, and all output is written to STDERR (not STDOUT, as documented).
The examples however are correct, in that it must take this form:
use SOAP::Lite +trace => [ signal => \&callback ];