use POSIX; my $stamp = strftime( "%Y%m%d%H%M%S", localtime ); print ">>$stamp<<\n"; # look ma! no line-feed!