mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-02 18:19:33 +01:00
13 lines
157 B
Perl
13 lines
157 B
Perl
|
#!/usr/bin/perl
|
||
|
|
||
|
use Time::Duration;
|
||
|
|
||
|
my ($ago) = @ARGV;
|
||
|
|
||
|
if(not defined $ago) {
|
||
|
print "Usage: ago <seconds>\n";
|
||
|
exit 0;
|
||
|
}
|
||
|
|
||
|
print ago_exact($ago), "\n";
|