NAME

Data::FSM::Utils - Utilities for Data::FSM.

SYNOPSIS

use Data::FSM::Utils qw(check_transition_objects);

check_transition_objects($key, $objects_ar);

SUBROUTINES

check_transition_objects

check_transition_objects($key, $objects_ar);

Check parameter defined by $key which is a right object (method from() and to() contain instance from $objects_ar list).

Put error if check isn't ok.

Returns undef.

ERRORS

check_transition_objects():
        From Mo::utils::Array::check_array():
                Parameter '%s' must be a array.
                        Value: %s
                        Reference: %s
        Parameter '%s' check hasn't defined state objects.
        Parameter '%s' contains object which has 'from' object which isn't in defined objects.
                Reference: %s
        Parameter '%s' contains object which has 'to' object which isn't in defined objects.
                Reference: %s

DEPENDENCIES

Error::Pure, Exporter, List::Util, Mo::utils::Array, Readonly.

REPOSITORY

https://github.com/michal-josef-spacek/Data-FSM

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© 2025-2026 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.01