Data::Monad::Base::Util - Utilities for my own use.
use Data::Monad::Base::Util qw(list); sub a_function { my ($x, $y, $z) = @_; my @results = ...; return list @results; }
This is a utility class.
Return values of an array as one list even if it called on scalar context.
hiratara <hiratara {at} cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Data::Monad, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Monad
CPAN shell
perl -MCPAN -e shell install Data::Monad
For more information on module installation, please visit the detailed CPAN module installation guide.