Dancer2::Plugin::ProgressStatus::Object
version 0.018
$progress++; $progress->add_message('everything is going swimmingly');
An object that represents a progress status.
You shouldn't need to call this. Any use of increment, decrement, ++, --, add_message, status, count, etc will automatically call save.
Adds a specified amount to the count (defaults to 1)
$prog->increment(10);
Can also add messages at the same time
$prog->increment(10, 'updating count by 10');
Decrement a specified amount from the count (defaults to 1)
$prog->decrement(10);
$prog->decrement(10, 'reducing count by 10');
Adds one or more string messages to the status data.
$prog->add_message('a simple message');
Steven Humphrey
This software is copyright (c) 2015 by Steven Humphrey.
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 Dancer2::Plugin::ProgressStatus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2::Plugin::ProgressStatus
CPAN shell
perl -MCPAN -e shell install Dancer2::Plugin::ProgressStatus
For more information on module installation, please visit the detailed CPAN module installation guide.