SQL::R...ds::DB2(3pm)
π SQL::ReservedWords::DB2 β wait, no, let me say it properly
okay bestie, so the actual name of this whole thing is SQL::ReservedWords::DB2 and it's a Perl module, and it's literally the one that tells you if a word is reserved by DB2 π
. It lives in the User Contributed Perl Documentation section, so you know it's a real one π.
β¨ NAME β¨
SQL::ReservedWords::DB2 β Reserved SQL words by DB2 π¦
β¨ SYNOPSIS β¨
here's the whole vibe, look:
if ( SQL::ReservedWords::DB2->is_reserved( $word ) ) {
print "$word is a reserved DB2 word!";
}
like. that's it. that's the whole entry point. iconic behavior honestly π
β¨ DESCRIPTION β¨
So what does it do? It figures out if words are reserved by DB2. That's the entire job. And it does it well, no cap π
β¨ METHODS β¨
okay here's the whole roster, no skipping, every single one of them:
is_reserved( $word )β hands you back a boolean saying whether$wordis reserved by either DB2 5, 6, 7 or 8. note the "either" β it's a combined vibe check across all four π₯is_reserved_by_db2v5( $word )β boolean, but specifically for whether$wordis reserved by DB2 5.is_reserved_by_db2v6( $word )β boolean, but specifically for whether$wordis reserved by DB2 6.is_reserved_by_db2v7( $word )β boolean, but specifically for whether$wordis reserved by DB2 7.is_reserved_by_db2v8( $word )β boolean, but specifically for whether$wordis reserved by DB2 8.is_reserved_by_db2v9( $word )β boolean, but specifically for whether$wordis reserved by DB2 9. yes girl, v9 is here too, she's real π«Άreserved_by( $word )β returns a list with the DB2 versions that reserve$word. so like, all the versions that said "not on my watch" βwordsβ returns a list with all the reserved words. all of them. the whole squad π
β¨ EXPORTS β¨
Nothing by default. nope, zero, nada, you get nothing unless you ask π
But bestie, following subroutines can be exported:
is_reservedis_reserved_by_db2v5is_reserved_by_db2v6is_reserved_by_db2v7is_reserved_by_db2v8is_reserved_by_db2v9reserved_bywords
β¨ SEE ALSO β¨
SQL::ReservedWordsβ the main character of this whole family π- <http://www-306.ibm.com/software/data/db2/udb/>
β¨ AUTHOR β¨
Christian Hansen chansen@cpan.org β thank you for your service, king π
β¨ COPYRIGHT β¨
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. π
and that's the whole page, bestie!! fr fr you now know everything this module knows πΈ This page came to you from perl v5.34.0, dated 2022-06-17, and it's filed under SQL::R...ds::DB2(3pm) in the User Contributed Perl Documentation. mwah, go reserve some words responsibly π
β¨π
π¦ where this page comes from
- debian bookworm: libsql-reservedwords-perl 0.8-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsql-reservedwords-perl 0.8-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsql-reservedwords-perl 0.8-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsql-reservedwords-perl 0.8-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsql-reservedwords-perl 0.8-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