$absoffset=0 unless defined $absoffset;
my $i;
my $last_l= 0;
+ my $last_h;
my $last;
for ($i=0; $i<@cp; $i++) {
my $this= $cp[$i];
- lprintf("%4s %7s %7s =%5.2f %s %5.02f%% %s",
+ lprintf("%4s %7s %7s =%5.2f %s %5.02f%% %s %s",
"#$i",
'+'.($this->{L} - $last_l),
'@'.($this->{L} - $absoffset),
$this->{S} > 0 ? '\\' :
'|'),
$this->{S} * 100,
+ (defined $last_h ?
+ sprintf "=%+6.2f", $this->{H} - $last_h :
+ ' '),
"@{ $this->{Args} }");
my $next= $cp[$i+1];
if ($interpolate and defined $next) {
}
}
$last_l= $this->{L};
+ $last_h= $this->{H};
$last= $this;
}
if ($interpolate) {