From: minima Date: Tue, 31 Oct 2000 17:21:53 +0000 (+0000) Subject: put back missing my in Filter.pm X-Git-Tag: R_1_45~66 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c017b71df86184b2ecd63577e12ce40f89704a6a;p=spider.git put back missing my in Filter.pm --- diff --git a/perl/Filter.pm b/perl/Filter.pm index 00ee6adb..3d42fc34 100644 --- a/perl/Filter.pm +++ b/perl/Filter.pm @@ -225,7 +225,7 @@ sub write mkdir $dir, 0775 unless -e $dir; rename $fn, "$fn.o" if -e $fn; - $fh = new IO::File ">$fn"; + my $fh = new IO::File ">$fn"; if ($fh) { my $dd = new Data::Dumper([ $self ]); $dd->Indent(1); diff --git a/perl/watchdbg b/perl/watchdbg index fef5cdf7..17bb3289 100755 --- a/perl/watchdbg +++ b/perl/watchdbg @@ -67,8 +67,8 @@ sub printit my $line = shift; my @line = split '\^', $line; my $t = shift @line; - my ($sec,$min,$hour) = gmtime((defined $t) ? $t : time); - my $buf = sprintf "%02d:%02d:%02d", $hour, $min, $sec; + my ($sec,$min,$hour) = gmtime((defined $t) ? $t : time); + my $buf = sprintf "%02d:%02d:%02d", $hour, $min, $sec; print $buf, ' ', join('^', @line); }