3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-30 07:59:42 +01:00
pbot/modules/ago.pl

13 lines
157 B
Perl
Raw Normal View History

2010-06-23 03:23:38 +02:00
#!/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";