From 590f489d1fc5ba7d5b97cd14a1183171ddcb9cd1 Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 26 Aug 2003 17:46:33 +0000 Subject: [PATCH] Allow missing option. --- ts/ts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/ts.pl b/ts/ts.pl index f7440f9..5d1e7ae 100644 --- a/ts/ts.pl +++ b/ts/ts.pl @@ -3,7 +3,7 @@ use strict; use POSIX; use Time::HiRes qw(gettimeofday); my $use_microseconds; -if ($ARGV[0] eq '-u') { +if (($ARGV[0] || "") eq '-u') { $use_microseconds = 1; shift; }