From c017b71df86184b2ecd63577e12ce40f89704a6a Mon Sep 17 00:00:00 2001 From: minima Date: Tue, 31 Oct 2000 17:21:53 +0000 Subject: [PATCH] put back missing my in Filter.pm --- perl/Filter.pm | 2 +- perl/watchdbg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.43.0