| Pod-WSDL documentation | Contained in the Pod-WSDL distribution. |
Pod::WSDL::Doc - Represents the WSDL pod for the documentation of methods (internal use only)
use Pod::WSDL::Doc;
my $doc = new Pod::WSDL::Doc('_DOC This method is for blah ...');
This module is used internally by Pod::WSDL. It is unlikely that you have to interact directly with it. If that is the case, take a look at the code, it is rather simple.
Instantiates a new Pod::WSDL::Attr. The method needs one parameter, the documentation string from the pod. Please see SYNOPSIS or the section "Pod Syntax" in the description of Pod::WSDL.
[none]
see Pod::WSDL
see Pod::WSDL
see Pod::WSDL
Pod::WSDL :-)
Tarek Ahmed, <bloerch -the character every email address contains- oelbsk.org>
Copyright (C) 2006 by Tarek Ahmed
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.
| Pod-WSDL documentation | Contained in the Pod-WSDL distribution. |
package Pod::WSDL::Doc; use strict; use warnings; use Pod::WSDL::AUTOLOAD; our $VERSION = "0.05"; our @ISA = qw/Pod::WSDL::AUTOLOAD/; sub new { my ($pkg, $str) = @_; defined $str or $str = ''; # avoids warnings $str =~ /\s*_DOC\s*(.*)/ or die "_DOC statements must have structure '_DOC <text>', like '_DOC This is my documentation'"; bless { _descr => $1 || '', }, $pkg; } 1; __END__