NAME
progress-any-eg-progressbar-02-multiple-tasks-one-progressbar - Two tasks, progress bar for the whole two tasks
VERSION
This document describes version 0.005 of progress-any-eg-progressbar-02-multiple-tasks-one-progressbar (from Perl distribution Progress-Any-Examples), released on 2020-07-09.
SYNOPSIS
% progress-any-eg-progressbar-02-multiple-tasks-one-progressbar [target_x] [target_y]
DESCRIPTION
This example shows two progress indicators, one for task 'x' and another for task 'y'. We then use the terminal progress bar output, which by default shows the progress for the task '' (which includes the tasks 'x' and 'y').
Unless the targets for both 'x' and 'y' are specified, the progress bar cannot show the percentage of completion. If percentage of completion for 'x' is unknown, or that for 'y' is unknown, then the percentage of completion for the whole two tasks (task '', the root task) is also unknown.
When percentage of completion is unknown, the progress bar will show a running bar.
Also note that to clean the progress bar, we need to call finish() on the root task.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Progress-Any-Examples.
SOURCE
Source repository is at https://github.com/perlancar/perl-Progress-Any-Examples.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Progress-Any-Examples
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.