Subject: | Subroutine SOAP::Trace::transport redefined when importing with +trace and methods |
When using the SOAP::Lite with the +trace option a warning is thrown about redefined subroutines for each subroutine that you are using in the import.
use strict;
use warnings;
use Data::Dumper;
sub log_message { print Data::Dumper->Dump( [ $_[0] ], [ 'request_or_response' ] ) }
use SOAP::Lite +trace => [ transport => \&log_message ];