SRU::R...gnostic(3pm)
β¨ NAME β¨
SRU::Response::Diagnostic β an SRU diagnostic message, bestie π
π¦ SYNOPSIS π¦
my $d = SRU::Response::Diagnostic->new(
uri => '',
details => ''
message => ''
);
print $d->asXML();
(yes the original really is missing that comma after details => '' β not me, I don't make the rules, I just report them π«Ά)
πΈ DESCRIPTION πΈ
Okay so real talk: you probably won't need to use this class, because it's used internally to store diagnostic messages. It's giving backstage crew energy β doing the work, not seeking the spotlight. π
π METHOD π
new()β pass in theuri,detailsandmessageattributes as needed. Ngl tho, you'll probably findnewFromCode()easier to work with. Just saying. πnewFromCode()β creates anSRU::Response::Diagnosticobject from a code. For a complete list of the codes, see the SRW/SRU documentation. Go read the docs, bestie, they're the moment. πβ¨uri()β the uri accessor.details()β the details accessor.message()β the message accessor.asXML()β turns it into XML, iconic behaviour fr fr.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2013 by Ed Summers. Respect the legend. π«Ά
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Free as in, go off, do your thing, slay. π
And that's the whole vibe check, bestie β this page came to you courtesy of perl v5.34.0, dated 2022-06-17. Periodt. π
β¨
π¦ where this page comes from
- debian bookworm: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsru-perl 1.01-3 Β· 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