Parse:...nstants(3pm)
β¨ NAME β¨
Parse::PlainConfig::Constants β the PPC constants, bestie π
(that's from the User Contributed Perl Documentation, section 3pm, if you were wondering π«Ά)
πΈ VERSION πΈ
$Id: lib/Parse/PlainConfig/Constants.pm, 3.07 2024/01/10 13:32:06 acorliss Exp $
π SYNOPSIS π
use Parse::PlainConfig::Constants;
$scalarType = PPC_SCALAR;
$arrayType = PPC_ARRAY;
$hashType = PPC_HASH;
$hdocType = PPC_HDOC;
π DESCRIPTION π
Okay so this module is literally just a lil bag of constants, and most of them are used internally β like, behind the scenes, main character energy but offscreen π
That being said, the default export gives you the basic data types you need to declare your parameter types. That's the whole vibe. β¨
You can also export debug level constants, which send trace information out to STDERR. Slay. π¦
π§ SUBROUTINES/METHODS π§
None. Not a single one. Zero. Nada. She contains nothing but vibes and constants. π
π CONSTANTS π
There are three export sets provided by this module:
Set Description
----------------------------------------------------
std Parameter data type constants
debug Debug level constants
all All constants (including internall constants
(not me copying that table exactly, typos included β internall, unclosed paren, iconic honestly π«Ά)
π std π
PPC_SCALARβ Scalar data type. Leading and trailing white space gets trimmed, no exceptions, periodt. βοΈPPC_ARRAYβ Array data type. Leading and trailing white space for all elements is trimmed. Every single one of them. πPPC_HASHβ Hash data type. Leading and trailing white space for all keys and values is trimmed. Both sides of the relationship get the same treatment, as they should. πPPC_HDOCβ Here doc data type. Functionally equivalent toPPC_SCALAR. Same energy, different name, iykyk. π
π debug π
The higher the debug level, the more verbose the output. Crank it up and she will talk. π£οΈ
PPCDLEVEL1PPCDLEVEL2PPCDLEVEL3
π« all π«
(...that's it. That's the section. The constants are, apparently, too iconic to be described here. π)
β DEPENDENCIES β
- Exporter
π BUGS AND LIMITATIONS π
(nothing listed here β not a single complaint filed, we love a flawless queen π«Ά)
π AUTHOR π
Arthur Corliss (corliss@digitalmages.com)
πΈ LICENSE AND COPYRIGHT πΈ
This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.
(c) 2016 - 2023, Arthur Corliss (corliss@digitalmages.com)
That's the whole page bestie, no cap, every single line accounted for π β¨
Parse:...nstants(3pm) Β· perl v5.38.2 Β· 2024-01-20 Β· mwah, go declare some parameter types πππ¦
π¦ where this page comes from
- debian trixie: libparse-plainconfig-perl 3.07-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libparse-plainconfig-perl 3.07-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libparse-plainconfig-perl 3.07-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libparse-plainconfig-perl 3.07-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