From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
1234567891011121314 use v5.26;use Object::Pad;class OP::Base :repr(HASH) { use Valiant::Validations; has $alive :reader :param; validates alive => ( boolean => { state => 0, } );}
use
v5.26;
Object::Pad;
class OP::Base :repr(HASH) {
Valiant::Validations;
has
$alive
:reader :param;
validates
alive
=> (
boolean
=> {
state
=> 0,
}
);