in reply to Re: help on searching a file
in thread help on searching a file
Try making the following additions and reporting the results:
- tye (but my friends call me "Tye")use Data::Dumper; ... $pessoais = "produtos/pessoais.dat"; $mailprog = '/usr/sbin/sendmail'; $search_for = "a"; $search_field = "all"; &search_database($pessoais,$search_for); $count = @results; print '@results= ',Dumper(\@results); ... ... foreach $results (@results){ ($key,$description,$speed,$ref,$qid) = split(/\|/,$results); print '($key,$description,$speed,$ref,$qid)= ', Dumper($key,$description,$speed,$ref,$qid); print MAIL "$description $FORM{$qid}\n\n"; } print '%FORM= ', Dumper(\%FORM); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: help on searching a file
by tye (Sage) on Sep 12, 2000 at 23:23 UTC |