SOAP::...n::XSD(3pm)
π NAME π
SOAP::WSDL::Generator::Template::Plugin::XSD β bestie, it's the Template plugin for the XSD generator π
β¨ METHODS β¨
πΈ perl_name
XSD.perl_name(element.get_name);
Okay so what this does: it takes an XML name and turns it into a valid perl name β like, valid for subroutines, variables, or whatever else needs a legal perl identifier. π
And ngl, perl_name is out here taking a crude approach: it literally just swaps . and - (dot and dash, yes, the whole entire strategy) for an underscore _. That's it. That's the move. π
β οΈ Heads up bestie: this may or may not be sufficient, and it may or may not provoke collisions in your XML names. So likeβ¦ vibe check your names before you commit, fr fr. π
π LICENSE AND COPYRIGHT π
Copyright 2008 Martin Kutter. π«Ά
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself. periodt. β¨
π¦ AUTHOR π¦
Martin Kutter <martin.kutter fen-net.de> π
π REPOSITORY INFORMATION π
$Rev: 564 $
$LastChangedBy: kutterma $
$Id: ComplexType.pm 564 2008-02-23 13:31:39Z kutterma $
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm $
Okay that's the whole page, no cap. π This little gem is living under perl v5.36.0, dated 2022-10-14, and it came to you courtesy of the User Contributed Perl Documentation crew β SOAP::...n::XSD(3pm), slay, bye bestie! πβ¨π«Ά
π¦ where this page comes from
- ubuntu noble: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsoap-wsdl-perl 3.004-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