NAME

Data::Monad::Base::Util - Utilities for my own use.

SYNOPSIS

use Data::Monad::Base::Util qw(list);
sub a_function {
    my ($x, $y, $z) = @_;
    my @results = ...;
    return list @results;
}

DESCRIPTION

This is a utility class.

FUNCTIONS

return list @results;

Return values of an array as one list even if it called on scalar context.

AUTHOR

hiratara <hiratara {at} cpan.org>

LICENSE

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