Flux::Out::Role::Easy - simplified version of Flux::Out role
version 1.03
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.
write_chunk
commit
write
use Moo; with "Flux::Out::Role::Easy"; sub write { my ($self, $item) = @_; say $item; }
This role is a specialization of Flux::Out.
Vyacheslav Matyukhin <me@berekuk.ru>
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.
To install Flux, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Flux
CPAN shell
perl -MCPAN -e shell install Flux
For more information on module installation, please visit the detailed CPAN module installation guide.