NAME

Poz::Builder - A module for building Poz projects

SYNOPSIS

use Poz::Builder;
my $builder = Poz::Builder->new();
$builder->build();

DESCRIPTION

Poz::Builder is a module designed to facilitate the building and management of Poz projects. It provides methods to streamline the build process and ensure consistency across different environments.

METHODS

new

my $builder = Poz::Builder->new();

Creates a new Poz::Builder object.

build

$builder->build();

Executes the build process for the Poz project. =head2 coerce

$builder->coerce();

Enables coercion for the builder, which affects how types are handled.

string

my $string_type = $builder->string(\%opts);

Creates a new string type with the given options.

date

my $date_type = $builder->date(\%opts);

Creates a new date type with the given options. This is a specialized string type.

number

my $number_type = $builder->number(\%opts);

Creates a new number type with the given options.

object

my $object_type = $builder->object(\%opts);

Creates a new object type with the given options.

array

my $array_type = $builder->array($validator);

Creates a new array type with the given validator.

enum

my $enum_type = $builder->enum(\%opts);

Creates a new enum type with the given options.

LICENSE

Copyright (C) ytnobody.

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

AUTHOR

ytnobody <ytnobody@gmail.com>