Parse:...nstants(3pm)

πŸ“¦
version 3.07 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 to PPC_SCALAR. Same energy, different name, iykyk. πŸŽ€

πŸ› debug πŸ›

The higher the debug level, the more verbose the output. Crank it up and she will talk. πŸ—£οΈ

  • PPCDLEVEL1
  • PPCDLEVEL2
  • PPCDLEVEL3

πŸ’« 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)


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