Print the postvalue instead to return it
This commit is contained in:
parent
ede3d4fd5e
commit
e2edfe3d8f
1 changed files with 3 additions and 1 deletions
|
|
@ -134,7 +134,9 @@ sub datapost {
|
|||
if ($unit == "Go") {
|
||||
$multi = 1024;
|
||||
}
|
||||
return $args[0] * $multi;
|
||||
$multi = $args[0] * $multi;
|
||||
doubleprint "$multi \n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub config {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue