summaryrefslogtreecommitdiff
path: root/lib/Loadbars/Main.pm
diff options
context:
space:
mode:
authorpbuetow <puppet@mx.buetow.org>2012-06-29 19:46:46 +0200
committerpbuetow <puppet@mx.buetow.org>2012-06-29 19:46:46 +0200
commitba1ea88bf967d0d3e850b13d3041c6c24cf05385 (patch)
tree9d056adb6d425e900423b95ee24b0dddc4405727 /lib/Loadbars/Main.pm
parent826c294f516b201613a5d29f5582f794432f1f2f (diff)
dealing with numbers
Diffstat (limited to 'lib/Loadbars/Main.pm')
-rw-r--r--lib/Loadbars/Main.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Loadbars/Main.pm b/lib/Loadbars/Main.pm
index 360863a..5a311e3 100644
--- a/lib/Loadbars/Main.pm
+++ b/lib/Loadbars/Main.pm
@@ -790,15 +790,15 @@ sub loop ($@) {
my $tnet_per = percentage($net_max, $diff_stat_r->{tb});
if ($net_per < 0) {
- $net_per = ${$net_last_value{"$key;per"}};
+ $net_per = $net_last_value{"$key;per"};
} else {
- $net_last_value{"$key;per"} = \$net_per;
+ $net_last_value{"$key;per"} = $net_per;
}
if ($tnet_per < 0) {
- $tnet_per = ${$net_last_value{"$key;tper"}};
+ $tnet_per = $net_last_value{"$key;tper"};
} else {
- $net_last_value{"$key;tper"} = \$tnet_per;
+ $net_last_value{"$key;tper"} = $tnet_per;
}
my %heights = (