Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: help on searching a file

by BlaisePascal (Monk)
on Sep 12, 2000 at 17:25 UTC ( [id://32099]=note: print w/replies, xml ) Need Help??


in reply to help on searching a file

First, please format your code using CODE tags. Right now, it's virtually unreadable, as opposed to this:
... $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,$descricao,$inscricao,$mensalidade,$codIBM,$qid) = split(/ +\|/,$results); print MAIL "$descricao $FORM{$qid}\n\n"; } ...
I'm not sure what you mean by "the script only considers the value of the data file in the mail." Can you give us an example of what you think it should be doing, and what it actually is doing?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://32099]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-28 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found