$pb=Paw::Progressbar-new( \$variable, [$from], [$to], [$blocks], [$color], [$name] );>
Parameter
variable => a reference to a scalar variable which should be represented by the progressbar from => the minimum value (defaults to 0) to => the maximum value (defaults to 100) blocks => the number ob blocks between 'from' and 'to' defaults to 10 name => name of the progressbar [optionally] color => the colorpair must be generated with Curses::init_pair(pair_nr, COLOR_fg, COLOR_bg) [optionally]
Example
$pb=Paw::Progressbar->new( from=>-10, to=>10, blocks=>25, color=>3 );
To install Paw, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paw
CPAN shell
perl -MCPAN -e shell install Paw
For more information on module installation, please visit the detailed CPAN module installation guide.