footbinc has asked for the wisdom of the Perl Monks concerning the following question:
That is the structure of the file (Value: Data) followed by a blank line between each value. I have a hash that I would like to fill in the values for---------------------------- Contact_Name: Ben Cochrane Clinic_Name: Bens Clinic Billing_Address: 10728 - 56 Ave Street_Address: 10729 - 104 Ave ...... -------------------------------
I would like to take the info from the file and fill in to the corresponding hash variable so that the has would become:--------------------------------- %wrvars = { "CONTACT_NAME" => "", "CURRENT_DATE" => "", "CLINIC_NAME" => "", "CONTACT_NAME" => "", "CITY" => "", .... ---------------------------------
If somebody could please help me (Im not a programmer) it would be much appreciated. Thanks---------------------------------- %wrvars = { "CONTACT_NAME" => "Ben Cochrane", "CURRENT_DATE" => "Ben's Clinic", ... ----------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How Would this Input File Work?
by dimmesdale (Friar) on Jun 20, 2001 at 21:42 UTC | |
by footbinc (Initiate) on Jun 20, 2001 at 22:03 UTC | |
|
Re: How Would this Input File Work?
by virtualsue (Vicar) on Jun 20, 2001 at 21:43 UTC |