7 my $class = ref($proto) || $proto;
11 my $progress = \${$self->{PROGRESS}};
12 my $last_progress = \${$self->{LAST_PROGRESS}};
13 my $progress_count = \${$self->{PROGRESS_COUNT}};
25 my $progress = \${$self->{PROGRESS}};
26 my $last_progress = \${$self->{LAST_PROGRESS}};
27 my $progress_count = \${$self->{PROGRESS_COUNT}};
31 if($$progress_count > 0 && $$progress) {
32 print STDERR $$progress;
33 $$last_progress = $$progress;
39 my $progress = \${$self->{PROGRESS}};
40 my $last_progress = \${$self->{LAST_PROGRESS}};
41 my $progress_count = \${$self->{PROGRESS_COUNT}};
47 for (1..length($$last_progress)) {
50 print STDERR $message;
51 undef $$last_progress;
57 my $progress = \${$self->{PROGRESS}};
58 my $last_progress = \${$self->{LAST_PROGRESS}};
63 for (1..length($$last_progress)) {
67 my $diff = length($$last_progress)-length($$progress);
77 print STDERR $prefix . $$progress . $suffix;
78 $$last_progress = $$progress;
83 my $progress = \${$self->{PROGRESS}};
87 $self->update_progress;
97 print STDERR $message;