Changeset 1965 for Swishetest/trunk/Swishetest.pm
- Timestamp:
- 11/30/07 17:00:59 (1 year ago)
- Files:
-
- Swishetest/trunk/Swishetest.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Swishetest/trunk/Swishetest.pm
r1960 r1965 33 33 use Swishetest qw(build_index do_search); 34 34 use Data::Dumper qw(Dumper); 35 35 36 36 my %info = build_index( "input/data", "out/myindex.index"); 37 # 3rd & 4th params 'configfile' and 'extraoptions' are optional37 # 3rd & 4th params 'configfile' and 'extraoptions' are optional 38 38 print Dumper( \%info ); 39 39 open_index("myindex.index"); 40 my @rows = do_search( "myindex.index", "this is the search" ); 41 # returns a list of hashrefs40 my @rows = do_search( "myindex.index", "this is the search" ); 41 # returns a list of hashrefs 42 42 close_index("myindex.index"); 43 43 print Dumper( \@rows );
