NAME
Flux::Out::Role::Easy - simplified version of Flux::Out role
VERSION
version 1.03
DESCRIPTION
This role is an extension of Flux::Out role. It provides the sane write_chunk
implementation and the empty commit
implementation, so you only have to define write
.
CONSUMER SYNOPSIS
use Moo;
with "Flux::Out::Role::Easy";
sub write {
my ($self, $item) = @_;
say $item;
}
SEE ALSO
This role is a specialization of Flux::Out.
AUTHOR
Vyacheslav Matyukhin <me@berekuk.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.