本間 雅洋 (Masahiro Honma) > Data-Monad > Data::Monad::Base::Util

Download:
Data-Monad-0.07.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

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.

syntax highlighting: