Make balance zero-crossing timestamp accessible
This commit is contained in:
parent
4178009405
commit
b6855df288
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ sub balance {
|
||||||
return _read()->{ lc $name }->[1];
|
return _read()->{ lc $name }->[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub since {
|
||||||
|
my ($name) = @_;
|
||||||
|
return _read()->{ lc $name }->[3];
|
||||||
|
}
|
||||||
|
|
||||||
sub create {
|
sub create {
|
||||||
my ($username) = @_;
|
my ($username) = @_;
|
||||||
open my $fh, '>>', $filename or die $!;
|
open my $fh, '>>', $filename or die $!;
|
||||||
|
|
Loading…
Add table
Reference in a new issue