ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/dinfo/dinfo
Revision: 1.4
Committed: Fri Aug 29 14:23:17 2003 UTC (20 years, 9 months ago) by root
Branch: MAIN
Changes since 1.3: +3 -6 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/usr/bin/perl
2
3 use dinfo;
4
5 my $dinfo = new dinfo "DBI:mysql:dinfo";
6
7 while (<>) {
8
9 #print "results: " . $r->rows . "\n";
10 #chomp;
11 #while (my $row = $r->fetch) {
12 $row = $dinfo->identify_number($_);
13 while (my ($k, $v) = each %$row) {
14 print "$k:$v ";
15 }
16 print "\n";
17 last if 1000..20000;
18 #}
19
20 #my $r = $dinfo->search (ort => exact => "Karlsruhe");
21 }