in reply to help on searching a file
aa|Dial up connection|56K|009|ba ab|Cable Modem|128K|010|bb
key|description|speed|ref|qid
So, what am I doing wrong? I simply can't understand...... $pessoais = "produtos/pessoais.dat"; $mailprog = '/usr/sbin/sendmail'; $search_for = "a"; $search_field = "all"; &search_database($pessoais,$search_for); $count = @results; ... ... foreach $results (@results){ ($key,$description,$speed,$ref,$qid) = split(/+\|/,$results); print MAIL "$description $FORM{$qid}\n\n"; } ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: help on searching a file
by tye (Sage) on Sep 12, 2000 at 22:55 UTC | |
by tye (Sage) on Sep 12, 2000 at 23:23 UTC | |
|
RE: Re: help on searching a file
by myocom (Deacon) on Sep 12, 2000 at 21:58 UTC | |
by DaWolf (Curate) on Sep 12, 2000 at 22:09 UTC | |
by Guildenstern (Deacon) on Sep 12, 2000 at 22:20 UTC | |
by Guildenstern (Deacon) on Sep 12, 2000 at 22:05 UTC | |
|
RE: Re: help on searching a file
by tye (Sage) on Sep 12, 2000 at 21:10 UTC | |
|
RE: Re: help on searching a file
by ncw (Friar) on Sep 12, 2000 at 23:06 UTC | |
|
(Guildenstern) Rex3: help on searching a file
by Guildenstern (Deacon) on Sep 12, 2000 at 21:55 UTC | |
by DaWolf (Curate) on Sep 12, 2000 at 22:00 UTC | |
|
RE: Re: help on searching a file
by BastardOperator (Monk) on Sep 12, 2000 at 22:54 UTC |