CPAN::...::Util(3pm)
π NAME π
CPAN::SQLite::Util β bestie, this one's the lil' export hub that hands out the common data structures that the CPAN::SQLite::* squad all share. It's giving "backstage pass" energy. β¨
π VERSION π
version 0.220 β yes queen, that's the one. π
πΈ DESCRIPTION πΈ
okay so. This module exports some common data structures used by other CPAN::Search::Lite::* modules. And right now, at present, the lineup is these cuties:
$table_idβ this is a hash reference. The keys are the tables used, and the values are the associated primary keys. iykyk. π$full_idβ also a hash reference. Here the keys are the primary keys of the tables, and the values are the associated fully qualified primary keys (ie, with the table name prepended). so it's the same info but dressed up all fancy. β¨$mode_infoβ a hash reference whose keys are the allowed modes ofCPAN::Search::Lite::Query, and whose associated values are hash references with the keys"id","name", and"text", describing what columns to use for that key. literally a whole little lookup table, no cap. π$query_infoβ a hash reference whose whole purpose is to provide shortcuts to making queries usingCPAN::Search::Lite::Query. The keys of this reference are the shortcut name, and the associated value is a hash reference specifying the requiredmodeandtypekeys. shortcuts = main character energy fr fr. π"vcmp"β bestie, this routine is a whole vibe check for versions. You use it like this:
if (vcmp($v1, $v2) > 0) {
print "$v1 is higher than $v2\n";
}
and what it does is compare two versions, returning 1/0/-1 if the first argument is considered higher/equal/lower than the second. Under the hood it uses "Sort::Versions". iconic behavior honestly. π¦
and that's the whole page, bestie!! π«Ά this one shipped with perl v5.36.0 and is dated 2022-10-30, so go forth and query responsibly. mwah. ππβ¨
π¦ where this page comes from
- debian bookworm: libcpan-sqlite-perl 0.220-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcpan-sqlite-perl 0.220-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcpan-sqlite-perl 0.220-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcpan-sqlite-perl 0.220-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcpan-sqlite-perl 0.220-1 Β· 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