Params...::Dummy(3pm)

πŸ“¦
version 0.03 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Params::Validate::Dummy πŸ’–

okay bestie, so this is Params...::Dummy(3pm) β€” yes the manual name is literally abbreviated like that, it's giving mysterious, we love that for it β€” and the whole point is: Params::Validate::Dummy β€” Stub for Params::Validate. that's the vibe. that's the entire personality. let's GO πŸŽ€


✨ SYNOPSIS ✨

use Params::Validate::Dummy qw();
use Module::Optional qw(Params::Validate);

like, two lines. iconic. no notes. πŸ¦‹


🌸 DESCRIPTION 🌸

so here's the tea, bestie: this module hands out stub routines for the girlies who don't have Params::Validate installed. that's it. that's the job.

if you want the actual real deal details, go read the docs for Params::Validate, because this page is not the main character here β€” it's the understudy. πŸ’…

the code in here? just stub routines that do NOTHING at all. nothing!! they pass through any arguments in the API and prototypes of Params::Validate, and that is genuinely the whole thing.

⚠️ listen to me, bestie: the dummy stubs do not do defaulting, validation, untainting, or anything else that Params::Validate does. like, none of it. zero. nada. πŸ™ˆ

so if you actually need that functionality β€” and lowkey you might!! β€” either provide it yourself in the surrounding code, or just don't use this module and insist that the real Params::Validate is installed. fr fr. no cap.

πŸ’œ validate, validate_pos

the parameter list is passed through as a return value. that's the whole routine. she's a pass-through girlie and she's thriving. ✨

πŸ’œ validate_with

returns the value of the params option. simple as. 🫢

πŸ’œ set_options, validation_options

these do nothing at all. not a single thing. absolute queens of doing nothing, and honestly? respect. πŸ‘‘

πŸ’œ Data types: SCALAR, SCALARREF, ARRAYREF, HASHREF, GLOB, GLOBREF, BOOLEAN, CODEREF, HANDLE, OBJECT, UNDEF, UNKNOWN

in the Params::Validate module, these are constants implemented by subs that return numbers. and this module? implements the same functions. same energy, same numbers, we match. ⭐


🌈 SUPPORT 🌈

See Module::Optional. that's the whole support section bestie, short and sweet. πŸ“


and that's a wrap on Params...::Dummy(3pm) β€” brought to you by perl v5.32.0, dated 2021-01-07, aka the little timestamp at the bottom of the page that says this manual was written back in the day and still slays πŸ’– mwah, go read Params::Validate for the real thing, ily bye!!

πŸ“¦ where this page comes from