my $search = CGI::Search->new( script_name => $ENV{SCRIPT_NAME}, # Script location on web site--for paging template => $TMPL_FILE, # Path to HTML::Template file # Database options db_file => $DB_FILE, # Path to database file to search db_seperator => $DB_SEPERATOR, # Database field seperator db_fields => \@DB_FIELDS, # Referance to the database fields description # Paging options results_per_page => $RESULTS_PER_PAGE, max_results => $MAX_RESULTS, page_number => $PAGE_NUMBER, search_fields => \%SEARCH, # Referance to search fields );