/[mws]/trunk/search.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/search.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations)
Tue May 4 14:00:03 2004 UTC (20 years ago) by dpavlin
File MIME type: text/plain
File size: 243 byte(s)
added body extractor to MWS

1 dpavlin 1 #!/usr/bin/perl -w
2    
3 dpavlin 2 use Data::Dumper;
4 dpavlin 3 use MWS;
5 dpavlin 1
6     my $debug = 1;
7    
8 dpavlin 2 my $mws = MWS->new('index');
9 dpavlin 1
10 dpavlin 2 my $s=join(" ",@ARGV);
11 dpavlin 1
12 dpavlin 2 my $results = $mws->search($s);
13 dpavlin 1 print "$results results...\n";
14    
15 dpavlin 2 while (my $r = $mws->fetch_result()) {
16     print Dumper($r);
17 dpavlin 1
18     }

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26