projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c912e94
)
put back missing my in Filter.pm
author
minima
<minima>
Tue, 31 Oct 2000 17:21:53 +0000
(17:21 +0000)
committer
minima
<minima>
Tue, 31 Oct 2000 17:21:53 +0000
(17:21 +0000)
perl/Filter.pm
patch
|
blob
|
history
perl/watchdbg
patch
|
blob
|
history
diff --git
a/perl/Filter.pm
b/perl/Filter.pm
index 00ee6adb15a0ef8be4f7ca43110e201aafb7d2e2..3d42fc34bc4fe73e4dd8d84548f2a397ae8a2afa 100644
(file)
--- 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;
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);
if ($fh) {
my $dd = new Data::Dumper([ $self ]);
$dd->Indent(1);
diff --git
a/perl/watchdbg
b/perl/watchdbg
index fef5cdf7e8e1f54a081f3da530b2fcd08e32f71b..17bb3289af9f49b58c138cee19805688e759c59e 100755
(executable)
--- a/
perl/watchdbg
+++ b/
perl/watchdbg
@@
-67,8
+67,8
@@
sub printit
my $line = shift;
my @line = split '\^', $line;
my $t = shift @line;
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);
}
print $buf, ' ', join('^', @line);
}