The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Build Status Coverage Status

NAME

Data::Monad::Control - Exception handling with Monad

SYNOPSIS

use Data::Monad::Control qw( try );

my $result = try {
  write_to_file_may_die(...);
}; # => Data::Monad::Either
$result->flat_map(sub {
  # ...
});

DESCRIPTION

Data::Monad::Control provides some functions to handle exceptions with monad.

FUNCTIONS

LICENSE

Copyright (C) aereal.

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

AUTHOR

aereal aereal@aereal.org

SEE ALSO

Data::Monad, Try::Tiny