simple/ts/ts.pl

9 lines
145 B
Perl
Raw Normal View History

2003-06-13 04:11:16 +02:00
#!/usr/bin/perl -wT
use strict;
use POSIX;
while (<>) {
chomp;
$now = strftime('%Y-%m-%dT%H:%M:%S', localtime);
print "$now $_\n";
}