Progress::Any::Output::Callback - Propagate progress update to a callback function
version 0.02
use Progress::Any::Output; Progress::Any::Output->set('Callback', callback=>sub { ... });
This output propagates progress update to your specified callback. Callback will receive what the output's update() receives: $self, %args where %args contains: indicator, message, level, etc.
$self, %args
%args
indicator
message
level
Instantiate. Usually called through Progress::Any::Output->set("Callback", %args).
Progress::Any::Output->set("Callback", %args)
Known arguments:
callback => CODE
Required.
Progress::Any
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2013 by Steven Haryanto.
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 Progress::Any::Output::Callback, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Progress::Any::Output::Callback
CPAN shell
perl -MCPAN -e shell install Progress::Any::Output::Callback
For more information on module installation, please visit the detailed CPAN module installation guide.