The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

String::Normal::Type::State;

DESCRIPTION

This package defines substitutions to be performed on State types.

METHODS

new( %params )
    my $state = String::Normal::Type::State->new;

Creates a State type.

transform( $value )
    my $new_value = $state->transform( $value );

Transforms a value according to the rules of a State type.