Subject: | Error in Pod::WSDL::Method documentation |
There is an error in Pod::WSDL::Method documentation, regarding the
'new' function.
The atached patch is self-descriptive and shows how to fix it.
Subject: | fix.patch |
--- WSDL/Method.pm.old 2006-06-06 10:26:46.000000000 +0100
+++ WSDL/Method.pm 2006-06-06 10:27:39.000000000 +0100
@@ -299,7 +299,7 @@
=head1 SYNOPSIS
use Pod::WSDL::Method;
- my $m = new Pod::WSDL::Method(name => 'mySub', doc => new Pod::WSDL::Doc($docStr), return => new Pod::WSDL::Return($retStr));
+ my $m = new Pod::WSDL::Method(name => 'mySub', writer => 'myWriter', doc => new Pod::WSDL::Doc($docStr), return => new Pod::WSDL::Return($retStr));