Declar...Library(3pm)
β¨ NAME β¨
okay so bestie, welcome to Declare::Constraints::Simple::Library β it's the Constraint Library Bundle π (yes that's the whole vibe, it's a perl 3pm manual page, User Contributed Perl Documentation, iykyk)
πΈ DESCRIPTION πΈ
so basically this module is the bundle of all the default libraries, and it also works as a map and/or reference of said ones. like a lil directory of where everything lives π
π LIBRARIES π
here's the whole roster, no cap, every single one:
Declare::Constraints::Simple::Library::Generalβ general constraints and constraint-like elements that affect the whole framework.- Provides:
Message,Scope,SetResult,IsValid,ReturnTrue,ReturnFalse
- Provides:
Declare::Constraints::Simple::Library::Scalarβ constraints for scalar value validation.- Provides:
Matches,IsDefined,HasLength,IsOneOf,IsTrue,IsEq
- Provides:
Declare::Constraints::Simple::Library::Numericalβ these validate values by their numerical properties.- Provides:
IsNumber,IsInt
- Provides:
Declare::Constraints::Simple::Library::OOβ for validation of values in an object oriented manner.- Provides:
IsA,IsClass,IsObject,HasMethods
- Provides:
Declare::Constraints::Simple::Library::Referencialβ these can validate properties by their reference types.- Provides:
IsRefType,IsScalarRef,IsArrayRef,IsHashRef,IsCodeRef,IsRegex
- Provides:
Declare::Constraints::Simple::Library::Arrayβ these constraints deal with array references and their contents.- Provides:
HasArraySize,OnArrayElements,OnEvenElements,OnOddElements
- Provides:
Declare::Constraints::Simple::Library::Hashβ all constraints appliable to hash references as well as their keys and values.- Provides:
HasAllKeys,OnHashKeys
- Provides:
Declare::Constraints::Simple::Library::Operatorsβ operators can be used in any place a constraint can be used, as their implementations are similar.- Provides:
And,Or,XOr,Not,CaseValid
- Provides:
π SEE ALSO π
Declare::Constraints::Simpleβ the main character π«Ά
π AUTHOR π
Robert 'phaylon' Sedlacek <phaylon@dunkelheit.at> π
π LICENSE AND COPYRIGHT π
this module is free software, you can redistribute it and/or modify it under the same terms as perl itself. iconic behaviour fr fr π§
and that's a wrap bestie β¨ this was the perl v5.32.0 version, dated 2021-01-09, from the Declar...Library(3pm) page β slay, go validate something π
π
π¦ where this page comes from
- debian bookworm: libdeclare-constraints-simple-perl 0.03-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdeclare-constraints-simple-perl 0.03-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libdeclare-constraints-simple-perl 0.03-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdeclare-constraints-simple-perl 0.03-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdeclare-constraints-simple-perl 0.03-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdeclare-constraints-simple-perl 0.03-1.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