Pod::W...:Method(3pm)
π NAME π
okay so bestie, Pod::WSDL::Method is literally the whole vibe of "a method inside Pod::WSDL" β it represents a method in Pod::WSDL and it's internal use only, so don't go making it your whole personality k? π
This is Pod::W...:Method(3pm) from the User Contributed Perl Documentation, and she's a little shy (the name's truncated, don't be weird about it).
β¨ SYNOPSIS β¨
the whole flex, in one block:
use Pod::WSDL::Method;
my $m = new Pod::WSDL::Method(name => 'mySub', writer => 'myWriter', doc => new Pod::WSDL::Doc($docStr), return => new Pod::WSDL::Return($retStr));
like. that's it. that's the whole thing. she ate π
πΈ DESCRIPTION πΈ
so here's the tea: this module gets used internally by Pod::WSDL. it's a behind-the-scenes queen, not a main character. the odds you ever have to talk to it directly are lowkey tiny.
but if you do end up needing to, the docs are just gonna say: go read the code. it's rather simple. and honestly? iconic of it. π
π METHODS π
π¦ new
instantiates a new Pod::WSDL::Method. fresh out of the box, brand new, no cap.
π Parameters
nameβ name of the method, and she's mandatory. no name, no method, periodt.docβ aPod::WSDL::Docobject. can be omitted, and if you do, just use the methoddoclater. easy.returnβ aPod::WSDL::Returnobject. can be omitted too, then use methodreturnlater.paramsβ ref to array ofPod::WSDL::Paramobjects. omittable, and then you useaddParam()later.faultsβ ref to array ofPod::WSDL::Faultobjects. also omittable, and thenaddFault()later.onewayβ if true, method is a one way operation. that's it, that's the flag.writerβ XML::Writer-Object for output, and this one is mandatory. cannot skip, bestie. π«Ά
π addParam
adds a Pod::WSDL::Param object to Pod::WSDL::Method. that's literally the whole job.
β addFault
adds a Pod::WSDL::Fault object to Pod::WSDL::Method. same energy, different class.
π« return
get or set the Pod::WSDL::Return object for Pod::WSDL::Method. get, set, she does both. multitasking queen.
π doc
get or set the Pod::WSDL::Doc object for Pod::WSDL::Method. same deal.
π§ requestName
get name for request in XML output.
π responseName
get name for response in XML output.
π₯ writeBindingOperation
write operation child for binding element in XML output.
π writeMessages
write message elements in XML output.
π writePortTypeOperation
write operation child for porttype element in XML output.
π EXTERNAL DEPENDENCIES π
[none]
she's self-sufficient. independent. doesn't need anybody. periodt. β¨
πΈ EXAMPLES πΈ
see Pod::WSDL
(yeah that's the whole section. go look, bestie, it's all over there π)
π BUGS π
see Pod::WSDL
π¦ TODO π¦
see Pod::WSDL
π«Ά SEE ALSO π«Ά
Pod::WSDL :-)
the smiley is load-bearing. do not remove it.
π AUTHOR π
Tarek Ahmed, <bloerch -the character every email address contains- oelbsk.org>
βοΈ COPYRIGHT AND LICENSE βοΈ
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.
and that's the whole page, bestie!! π no cap, you understood all of it. this was Pod::W...:Method(3pm) from perl v5.34.0, dated 2022-06-16, and she slayed every single line. mwah π
πβ¨
π¦ where this page comes from
- debian bookworm: libpod-wsdl-perl 0.063-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpod-wsdl-perl 0.063-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpod-wsdl-perl 0.063-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpod-wsdl-perl 0.063-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpod-wsdl-perl 0.063-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms