put back missing my in Filter.pm
authorminima <minima>
Tue, 31 Oct 2000 17:21:53 +0000 (17:21 +0000)
committerminima <minima>
Tue, 31 Oct 2000 17:21:53 +0000 (17:21 +0000)
perl/Filter.pm
perl/watchdbg

index 00ee6adb15a0ef8be4f7ca43110e201aafb7d2e2..3d42fc34bc4fe73e4dd8d84548f2a397ae8a2afa 100644 (file)
@@ -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);
index fef5cdf7e8e1f54a081f3da530b2fcd08e32f71b..17bb3289af9f49b58c138cee19805688e759c59e 100755 (executable)
@@ -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); 
 }