Valida...::UUID(3pm)

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

✨ NAME ✨

okay bestie, so this page is the manual for Validation::Class::Directive::UUID β€” it's the UUID Directive for Validation Class Field Definitions. it lives in the Perl user-contributed docs (that's the 3pm part of the manual name, iykyk). πŸ’–


πŸŽ€ VERSION πŸŽ€

version 7.900059 β€” that's the vibe check, we're on this version fr fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole serve, verbatim, no notes:

use Validation::Class::Simple;

my $rules = Validation::Class::Simple->new(
    fields => {
        user_uuid => {
            uuid => 1
        }
    }
);

# set parameters to be validated
$rules->params->add($parameters);

# validate
unless ($rules->validate) {
    # handle the failures
}

so you spin up your $rules, you declare a field, you slap uuid => 1 on it, you add your $parameters, and then you validate. if it fails? you handle the failures. that's it, that's the whole plot. πŸ’…


🌸 DESCRIPTION 🌸

Validation::Class::Directive::UUID is a core validation class field directive that handles validation of Globally/Universally Unique Identifiers. that's UUIDs bestie β€” the iconic little hyphenated hex strings. it just... checks them. no cap. ✨


πŸ‘‘ AUTHOR πŸ‘‘

Al Newkirk <anewkirk@ana.io> β€” the main character who wrote this. 🫢


This software is copyright (c) 2011 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

so like, it's free, go wild, but keep the same terms as Perl 5 itself. respect the license bestie. πŸŽ€

and that's the page!! πŸ’– this was generated from perl v5.36.0 docs dated 2023-06-11 β€” so if you're reading this way later, go touch some grass and also check for a newer version. slay, bye!! πŸŒˆβ­πŸ¦‹

πŸ“¦ where this page comes from