| my $class = ref($proto) || $proto; |
| my $progress = \${$self->{PROGRESS}}; |
| my $last_progress = \${$self->{LAST_PROGRESS}}; |
| my $progress_count = \${$self->{PROGRESS_COUNT}}; |
| my $progress = \${$self->{PROGRESS}}; |
| my $last_progress = \${$self->{LAST_PROGRESS}}; |
| my $progress_count = \${$self->{PROGRESS_COUNT}}; |
| if($$progress_count > 0 && $$progress) { |
| $$last_progress = $$progress; |
| my $progress = \${$self->{PROGRESS}}; |
| my $last_progress = \${$self->{LAST_PROGRESS}}; |
| my $progress_count = \${$self->{PROGRESS_COUNT}}; |
| for (1..length($$last_progress)) { |
| my $progress = \${$self->{PROGRESS}}; |
| my $last_progress = \${$self->{LAST_PROGRESS}}; |
| for (1..length($$last_progress)) { |
| my $diff = length($$last_progress)-length($$progress); |
| print STDERR $prefix . $$progress . $suffix; |
| $$last_progress = $$progress; |
| my $progress = \${$self->{PROGRESS}}; |