Pod::W...:Method(3pm)

πŸ“¦
version 0.063 Β· 2 versions
  • 0.063 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.063 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 β€” a Pod::WSDL::Doc object. can be omitted, and if you do, just use the method doc later. easy.
  • return β€” a Pod::WSDL::Return object. can be omitted too, then use method return later.
  • params β€” ref to array of Pod::WSDL::Param objects. omittable, and then you use addParam() later.
  • faults β€” ref to array of Pod::WSDL::Fault objects. also omittable, and then addFault() 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 (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