projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add logging to show/dxsql
[spider.git]
/
perl
/
create_qsl.pl
diff --git
a/perl/create_qsl.pl
b/perl/create_qsl.pl
index b3e514de244989bb9ae366cc3d5bea8f581da72e..85134ea101b658d541b50a4a6e7f414d57a85d4a 100755
(executable)
--- a/
perl/create_qsl.pl
+++ b/
perl/create_qsl.pl
@@
-4,7
+4,7
@@
#
# Copyright (c) 2003 Dirk Koopman G1TLH
#
#
# Copyright (c) 2003 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
# search local then perl directories
#
# search local then perl directories
@@
-56,6
+56,7
@@
foreach my $year (sort readdir YEAR) {
my $f = new IO::File $fn or die "$fn ($!)";
print "doing: $fn\n";
while (<$f>) {
my $f = new IO::File $fn or die "$fn ($!)";
print "doing: $fn\n";
while (<$f>) {
+ last if $end;
if (/(QSL|VIA)/i) {
my ($freq, $call, $t, $comment, $by, @rest) = split /\^/;
my $q = QSL::get($call) || new QSL $call;
if (/(QSL|VIA)/i) {
my ($freq, $call, $t, $comment, $by, @rest) = split /\^/;
my $q = QSL::get($call) || new QSL $call;
@@
-64,7
+65,9
@@
foreach my $year (sort readdir YEAR) {
}
}
$f->close;
}
}
$f->close;
+ last if $end;
}
}
+ last if $end;
}
QSL::finish();
}
QSL::finish();